Lines Matching refs:tsrm_error_file
67 static FILE *tsrm_error_file; variable
144 tsrm_error_file = stderr; in tsrm_startup()
212 if (tsrm_error_file!=stderr) { in tsrm_shutdown()
213 fclose(tsrm_error_file); in tsrm_shutdown()
740 fprintf(tsrm_error_file, "TSRM: "); in tsrm_error()
742 size = vfprintf(tsrm_error_file, format, args); in tsrm_error()
744 fprintf(tsrm_error_file, "\n"); in tsrm_error()
745 fflush(tsrm_error_file); in tsrm_error()
759 if (tsrm_error_file!=stderr) { /* close files opened earlier */ in tsrm_error_set()
760 fclose(tsrm_error_file); in tsrm_error_set()
764 tsrm_error_file = fopen(debug_filename, "w"); in tsrm_error_set()
765 if (!tsrm_error_file) { in tsrm_error_set()
766 tsrm_error_file = stderr; in tsrm_error_set()
769 tsrm_error_file = stderr; in tsrm_error_set()