Lines Matching refs:tsrm_error_file
75 static FILE *tsrm_error_file; variable
154 tsrm_error_file = stderr; in tsrm_startup()
232 if (tsrm_error_file!=stderr) { in tsrm_shutdown()
233 fclose(tsrm_error_file); in tsrm_shutdown()
806 fprintf(tsrm_error_file, "TSRM: "); in tsrm_error()
808 size = vfprintf(tsrm_error_file, format, args); in tsrm_error()
810 fprintf(tsrm_error_file, "\n"); in tsrm_error()
811 fflush(tsrm_error_file); in tsrm_error()
825 if (tsrm_error_file!=stderr) { /* close files opened earlier */ in tsrm_error_set()
826 fclose(tsrm_error_file); in tsrm_error_set()
830 tsrm_error_file = fopen(debug_filename, "w"); in tsrm_error_set()
831 if (!tsrm_error_file) { in tsrm_error_set()
832 tsrm_error_file = stderr; in tsrm_error_set()
835 tsrm_error_file = stderr; in tsrm_error_set()