Lines Matching refs:ferr
241 static FILE* ferr = NULL; in getErrorFile() local
250 if ( ferr == NULL && create ) in getErrorFile()
260 ferr = fopen( fname, MODE ); in getErrorFile()
262 if ( ferr == NULL ) in getErrorFile()
268 ferr = fopen( fname, MODE ); in getErrorFile()
273 return ferr; in getErrorFile()
283 FILE* ferr = getErrorFile( 1 ); in writeError() local
284 if ( ferr != NULL ) in writeError()
286 fprintf( ferr, errstr ); in writeError()
287 fflush( ferr ); in writeError()
296 FILE* ferr = getErrorFile( 0 ); in closeErrorFile() local
297 if ( ferr != NULL ) in closeErrorFile()
298 fclose( ferr ); in closeErrorFile()