Lines Matching refs:LogFile
46 static int LogFile = -1; /* fd for log */ variable
242 if (!connected || __send (LogFile, buf, bufsize, MSG_NOSIGNAL) < 0) in __vsyslog_internal()
251 if (!connected || __send (LogFile, buf, bufsize, MSG_NOSIGNAL) < 0) in __vsyslog_internal()
299 if (LogFile == -1) in openlog_internal()
303 LogFile = __socket (AF_UNIX, LogType | SOCK_CLOEXEC, 0); in openlog_internal()
304 if (LogFile == -1) in openlog_internal()
308 if (LogFile != -1 && !connected) in openlog_internal()
311 if (__connect (LogFile, &SyslogAddr, sizeof (SyslogAddr)) == -1) in openlog_internal()
314 int fd = LogFile; in openlog_internal()
315 LogFile = -1; in openlog_internal()
351 __close (LogFile); in closelog_internal()
352 LogFile = -1; in closelog_internal()