syslog
void closelog (void);
void
void openlog (const char *ident, int logopt, int facility);
const char *ident
int logopt
int facility
int setlogmask (int maskpri);
int maskpri
void syslog (int priority, const char *message, ...);
int priority
const char *message
...
# define LOG_DAEMON 0
# define LOG_EMERG 0
# define LOG_ALERT 0
# define LOG_CRIT 0
# define LOG_ERR 0
# define LOG_WARNING 0
# define LOG_NOTICE 0
# define LOG_INFO 0
# define LOG_DEBUG 0
# define LOG_PID 0
# define LOG_CONS 0