FDK/Tools/Programs/makeotf/source/file.c
/* Open file and check for errors */
Open file and check for errors
Open file and check for errors
void fileOpen(File *f, cbCtx h, char *filename, char *mode)
	{
	f->h = h;
	f->name = filename;
	f->fp = fopen(filename, mode);
	if (f->fp == NULL)
		fileError(f);
	}
void fileOpen ( File * f , cbCtx h , char * filename , char * mode ) { f -> h = h ; f -> name = filename ; f -> fp = fopen ( filename , mode ) ; if ( f -> fp == NULL ) fileError ( f ) ; }
Open file and check for errors
Open file and check for errors