Searched refs:logfilefd (Results 1 – 5 of 5) sorted by relevance
50 static int logfilefd=-1; variable212 if (logfilefd >= 0) { in ip_find_in_hash_update()347 if (logfilefd<0) { in ipshowinfo()348 if (logfilefd == -1) in ipshowinfo()362 if (logfilefd >= 0) in closelogfile()363 close(logfilefd); in closelogfile()374 logfilefd=-2; in iplogfile()382 logfilefd=fd; in iplogfile()391 logfilefd=-1; in iplogfile()740 if (logfilefd >= 0) { in iplog_hup()[all …]
143 logfilefd = nullfd145 logfilefd = os.open(149 os.dup2(logfilefd, procutil.stdout.fileno())150 os.dup2(logfilefd, procutil.stderr.fileno())158 if logfile and logfilefd not in stdio:159 os.close(logfilefd)
35 FILE *logfilefd = NULL; variable147 if (logfilefd != NULL) in print_result()148 fprintf(logfilefd, "%s\n", buf); in print_result()704 if (logfilefd>0) in process_cleanup()705 fclose(logfilefd); in process_cleanup()745 logfilefd = fopen(logfilename, "a+"); in open_logfile()746 if (logfilefd == NULL) in open_logfile()
1390 int logfilefd = logfile->get_fd(); in flush_thread_main() local1392 ink_assert(logfilefd >= 0); in flush_thread_main()1406 len = ::write(logfilefd, &buf[bytes_written], total_bytes - bytes_written); in flush_thread_main()
2602 int logfilefd = _open(stdoutpath, _O_WRONLY | _O_CREAT | _O_BINARY | _O_TRUNC, _S_IWRITE); in teeStdout() local2611 stdoutTeeFds[2] = logfilefd; in teeStdout()2620 stderrTeeFds[2] = logfilefd; in teeStdout()