Lines Matching refs:log_to_fd
478 if (notty && log_to_fd <= 1) in tty_check_options()
479 log_to_fd = -1; in tty_check_options()
503 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0 in tty_check_options()
505 log_to_fd = -1; in tty_check_options()
656 if (log_to_fd == 1) in connect_tty()
657 log_to_fd = -1; in connect_tty()
658 if (log_to_fd != 2) in connect_tty()
927 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
936 log_to_fd = -1;
937 else if (log_to_fd >= 0)
938 log_to_fd = 2;