10 lines
295 B
C
10 lines
295 B
C
#pragma once
|
|
#include <stdarg.h>
|
|
#define LOG_PID 0x01
|
|
#define LOG_USER (1 << 3)
|
|
#define LOG_NOTICE 5
|
|
void openlog(const char* ident, int option, int facility);
|
|
void closelog(void);
|
|
void syslog(int priority, const char* format, ...);
|
|
void vsyslog(int priority, const char* format, va_list args);
|