[klibc] define more syslog flags
Thayne Harbaugh
tharbaugh at lnxi.com
Thu Oct 21 16:44:50 PDT 2004
Define more syslog flags that are still ignored:
diff -uNr klibc-0.188/include/syslog.h udev-040/klibc-0.188/include/syslog.h
--- klibc-0.188/include/syslog.h 2003-11-23 14:46:23.000000000 -0700
+++ udev-040/klibc-0.188/include/syslog.h 2004-10-21 15:35:22.411495112 -0600
@@ -47,6 +47,14 @@
#define LOG_FACMASK 01770
#define LOG_FAC(x) (((x) >> 3) & (LOG_FACMASK >> 3))
+/* openlog() flags - not used */
+#define LOG_PID 0x01 /* include pid with message */
+#define LOG_CONS 0x02 /* write to console on logger error */
+#define LOG_ODELAY 0x04 /* delay connection until syslog() */
+#define LOG_NDELAY 0x08 /* open connection immediately */
+#define LOG_NOWAIT 0x10 /* wait for child processes (unused on linux) */
+#define LOG_PERROR 0x20 /* additional logging to stderr */
+
__extern void openlog(const char *, int, int);
__extern void syslog(int, const char *, ...);
__extern void vsyslog(int, const char *, va_list);
--
Thayne Harbaugh
Linux Networx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20041021/b088e667/attachment.bin
More information about the klibc
mailing list