summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/syslog.h
blob: b8582e95407523356c71e7508a4e3f5125da5a52 (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 */