diff options
author | H. Peter Anvin <hpa@zytor.com> | 2004-10-21 22:12:25 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2004-10-21 22:12:25 +0000 |
commit | 5c40e30299c197150e688a623573f2e0383022c9 (patch) | |
tree | be682311a32a533885cc36da7d286808fd2b32d8 | |
parent | f7d1ff5c2b889b94c39f48f151069942c81514f1 (diff) | |
download | klibc-5c40e30299c197150e688a623573f2e0383022c9.tar.gz |
Add flags for glibc compatibilityklibc-0.189
-rw-r--r-- | include/syslog.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/syslog.h b/include/syslog.h index 551527a04228e..db6682efd0d9f 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -47,6 +47,15 @@ #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); |