summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/syslog.h
blob: 172261cd1c5b57717a71af45b11065d63ac0d76e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SYSLOG_H
#define SYSLOG_H

int syslog();

#define LOG_INFO	0x1
#define LOG_ERROR	0x2
#define LOG_WARN	0x4

#define LOG_NDELAY	0x1
#define LOG_NOWAIT	0x2
#define LOG_PID		0x4
#define LOG_USER	0x8

void closelog(void);
void openlog(const char *ident, int logopt, int facility);

#endif /* SYSLOG_H */