2 * <syslog.h> wrapper functions.
5 * Jonathan Pryor (jonpryor@vt.edu)
7 * Copyright (C) 2005 Jonathan Pryor
21 Mono_Posix_Syscall_openlog (void* ident
, int option
, int facility
)
23 openlog ((const char*) ident
, option
, facility
);
28 Mono_Posix_Syscall_closelog (void)
35 #pragma GCC diagnostic push
36 #pragma GCC diagnostic ignored "-Wformat-security"
39 Mono_Posix_Syscall_syslog (int priority
, const char* message
)
41 syslog (priority
, message
);
46 #pragma GCC diagnostic pop
49 /* vararg version of syslog(3). */
51 Mono_Posix_Syscall_syslog2 (int priority
, const char *format
, ...)
55 va_start (ap
, format
);
56 vsyslog (priority
, format
, ap
);