Searched refs:xo_logfile (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 110 static int xo_logfile = -1; /* fd for log */ variable 219 if (send(xo_logfile, full_msg, full_len, 0) < 0) { in xo_send_syslog() 227 if (send(xo_logfile, full_msg, full_len, 0) >= 0) { in xo_send_syslog() 244 if (send(xo_logfile, full_msg, full_len, 0) >= 0) { in xo_send_syslog() 294 if (xo_logfile != -1) { in xo_disconnect_log() 295 close(xo_logfile); in xo_disconnect_log() 296 xo_logfile = -1; in xo_disconnect_log() 312 if (xo_logfile == -1) { in xo_connect_log() 317 if ((xo_logfile = socket(AF_UNIX, flags, 0)) == -1) in xo_connect_log() 320 if (xo_logfile != -1 && xo_status == NOCONN) { in xo_connect_log() [all …]
|