Home
last modified time | relevance | path

Searched refs:log_file (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/unistd/
Dsyslog.c252 if ((error = send(data->log_file, tbuf, cnt, 0)) < 0) { in vsyslog_r()
259 if ((error = send(data->log_file, tbuf, cnt, 0)) >= 0) in vsyslog_r()
294 if (data->log_file != -1) { in disconnectlog_r()
295 close(data->log_file); in disconnectlog_r()
296 data->log_file = -1; in disconnectlog_r()
311 if (data->log_file == -1) { in connectlog_r()
312 if ((data->log_file = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) in connectlog_r()
314 (void)fcntl(data->log_file, F_SETFD, 1); in connectlog_r()
316 if (data->log_file != -1 && !data->connected) { in connectlog_r()
325 if (connect(data->log_file, &u.syslogAddr, in connectlog_r()
[all …]
/bionic/libc/include/
Dsyslog.h90 int log_file; member