Home
last modified time | relevance | path

Searched refs:log_to_fd (Results 1 – 6 of 6) sorted by relevance

/external/ppp/pppd/
Dtty.c483 if (notty && log_to_fd <= 1) in tty_check_options()
484 log_to_fd = -1; in tty_check_options()
508 if (log_to_fd >= 0 && fstat(log_to_fd, &statbuf) >= 0 in tty_check_options()
510 log_to_fd = -1; in tty_check_options()
664 if (log_to_fd == 1) in connect_tty()
665 log_to_fd = -1; in connect_tty()
666 if (log_to_fd != 2) in connect_tty()
931 cpid = safe_fork(ifd, ofd, (log_to_fd >= 0? log_to_fd: 2));
940 log_to_fd = -1;
941 else if (log_to_fd >= 0)
[all …]
Dutils.c666 if (log_to_fd >= 0 && (level != LOG_DEBUG || debug)) {
671 if (write(log_to_fd, buf, n) != n
672 || write(log_to_fd, "\n", 1) != 1)
673 log_to_fd = -1;
Dmain.c828 log_to_fd = -1; in detach()
1645 if (log_to_fd > 2) in safe_fork()
1646 close(log_to_fd); in safe_fork()
1729 if (log_to_fd >= 0)
1730 errfd = log_to_fd;
1737 if (pid != 0 && log_to_fd < 0)
Doptions.c110 int log_to_fd = 1; /* send log messages to this fd too */ variable
255 { "logfd", o_int, &log_to_fd,
258 { "nolog", o_int, &log_to_fd,
261 { "nologfd", o_int, &log_to_fd,
896 if (logfile_fd >= 0 && logfile_fd != log_to_fd) in check_options()
1567 log_to_fd = fd;
Dpppd.h237 extern int log_to_fd; /* logging to this fd as well as syslog */
/external/lldb/examples/interposing/darwin/fd_interposing/
DFDInterposing.cpp371 log_to_fd (int log_fd, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
474 log_to_fd (int log_fd, const char *format, va_list args) in log_to_fd() function
486 log_to_fd (int log_fd, const char *format, ...) in log_to_fd() function
492 log_to_fd (log_fd, format, args); in log_to_fd()
500 log_to_fd (get_logging_fd (), format, args); in log()
522 log_to_fd (log_fd, format, args); in log()
534 log_to_fd (log_fd, "%s\n", m_string_sp->c_str()); in Dump()
540 log_to_fd (log_fd, "\nfd=%i was created with this event:\n", m_fd); in Dump()
542 log_to_fd (log_fd, "\n"); in Dump()
1109 log_to_fd (log_fd, "Dumping file descriptor history for fd=%i:\n", fd); in get_fd_history()
[all …]