9d61c9a250
(try_connect_guard): New static variable. (syslogd_inited): Ditto. (syslogd_sock): Ditto. (try_connect_syslogd): New function to connect and write syslog to local syslogd. (vsyslog): Log to stderr if LOG_PERROR flag has been given to openlog. Try logging to syslogd. Use Event Log resp. log file as fallback. (closelog): Close socket to syslogd. * include/sys/syslog.h (_PATH_LOG): Define. (INTERNAL_NOPRI): Define if SYSLOG_NAMES is defined. (INTERNAL_MARK): Ditto. (struct _code): Ditto. (prioritynames): Ditto. (facilitynames): Ditto. |
||
---|---|---|
.. | ||
arpa | ||
asm | ||
cygwin | ||
net | ||
netinet | ||
sys | ||
a.out.h | ||
ctype.h | ||
dlfcn.h | ||
err.h | ||
exceptions.h | ||
fcntl.h | ||
features.h | ||
fnmatch.h | ||
getopt.h | ||
glob.h | ||
icmp.h | ||
inttypes.h | ||
io.h | ||
lastlog.h | ||
libgen.h | ||
limits.h | ||
mapi.h | ||
memory.h | ||
mntent.h | ||
netdb.h | ||
paths.h | ||
poll.h | ||
pthread.h | ||
pty.h | ||
sched.h | ||
search.h | ||
semaphore.h | ||
stdint.h | ||
strings.h | ||
sysexits.h | ||
syslog.h | ||
termio.h | ||
tzfile.h | ||
utmpx.h |