Added BSD extension vsyslog() - is also found on Linux.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23835 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-02-03 15:31:16 +00:00
parent 6b1fc6fcb7
commit e5bc2a9e7a
2 changed files with 56 additions and 41 deletions
+6
View File
@@ -6,6 +6,9 @@
#define _SYSLOG_H_
#include <stdarg.h>
/* options for openlog() */
#define LOG_PID (1 << 12) /* log the process (thread/team) ID with each message */
@@ -80,6 +83,9 @@ extern void openlog_thread(const char *ident, int logopt, int facility);
extern void log_thread(int priority, const char *message, ...);
extern int setlogmask_thread(int priorityMask);
/* BSD extensions */
extern void vsyslog(int priority, const char *message, va_list args);
#ifdef __cplusplus
}
#endif