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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user