diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-12-14 11:42:06 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:13:48 -0700 |
commit | 027263f0056e7cbd43c0860ba5dcafd9e4cac916 (patch) | |
tree | 263cde65f32acbc82cd616751f758fbd6417cc10 /klibc/include/syslog.h | |
parent | bc0410fdb64e295ae74d990185fa0bbc883e5432 (diff) |
[PATCH] update klibc to 0.194
Diffstat (limited to 'klibc/include/syslog.h')
-rw-r--r-- | klibc/include/syslog.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/klibc/include/syslog.h b/klibc/include/syslog.h index 551527a042..061dbcd5a7 100644 --- a/klibc/include/syslog.h +++ b/klibc/include/syslog.h @@ -47,6 +47,15 @@ #define LOG_FACMASK 01770 #define LOG_FAC(x) (((x) >> 3) & (LOG_FACMASK >> 3)) +/* openlog() flags; only LOG_PID and LOG_PERROR supported */ +#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); |