Lines Matching refs:debug_f
228 static FILE *debug_f = 0; variable
251 debug_f = fopen(fn, "a"); in init_debug()
252 if (!debug_f) in init_debug()
253 debug_f = fopen("/dev/tty", "a"); in init_debug()
254 if (debug_f) { in init_debug()
255 fd = fileno(debug_f); in init_debug()
262 fprintf(debug_f, "Couldn't set FD_CLOEXEC " in init_debug()
264 fclose(debug_f); in init_debug()
265 debug_f = NULL; in init_debug()
296 fprintf(debug_f, "add_error_table: %s (0x%p)\n", in add_error_table()
325 fprintf(debug_f, in remove_error_table()
336 fprintf(debug_f, "remove_error_table FAILED: %s (0x%p)\n", in remove_error_table()