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. |
||
---|---|---|
.. | ||
acl.h | ||
cdefs.h | ||
copying.dj | ||
cygwin.h | ||
dirent.h | ||
file.h | ||
ioctl.h | ||
ipc.h | ||
lock.h | ||
mman.h | ||
mount.h | ||
msg.h | ||
mtio.h | ||
param.h | ||
poll.h | ||
procfs.h | ||
queue.h | ||
resource.h | ||
select.h | ||
sem.h | ||
shm.h | ||
smallprint.h | ||
socket.h | ||
soundcard.h | ||
statfs.h | ||
statvfs.h | ||
stdio.h | ||
strace.h | ||
syslog.h | ||
sysmacros.h | ||
sysproto.h | ||
termio.h | ||
termios.h | ||
ttychars.h | ||
uio.h | ||
un.h | ||
utime.h | ||
utmp.h | ||
utsname.h | ||
vfs.h | ||
wait.h |