Lines Matching refs:tsrm_error_file
67 static FILE *tsrm_error_file; variable
151 tsrm_error_file = stderr; in tsrm_startup()
219 if (tsrm_error_file!=stderr) { in tsrm_shutdown()
220 fclose(tsrm_error_file); in tsrm_shutdown()
784 fprintf(tsrm_error_file, "TSRM: "); in tsrm_error()
786 size = vfprintf(tsrm_error_file, format, args); in tsrm_error()
788 fprintf(tsrm_error_file, "\n"); in tsrm_error()
789 fflush(tsrm_error_file); in tsrm_error()
803 if (tsrm_error_file!=stderr) { /* close files opened earlier */ in tsrm_error_set()
804 fclose(tsrm_error_file); in tsrm_error_set()
808 tsrm_error_file = fopen(debug_filename, "w"); in tsrm_error_set()
809 if (!tsrm_error_file) { in tsrm_error_set()
810 tsrm_error_file = stderr; in tsrm_error_set()
813 tsrm_error_file = stderr; in tsrm_error_set()