nmc-utils  0.1
1.c
Go to the documentation of this file.
1 #include <syslog.h>
2 int main()
3 {
4  openlog("slog", LOG_PID|LOG_CONS, LOG_USER);
5  syslog(LOG_INFO, "A different kind of Hello world ... ");
6  syslog(LOG_INFO, "A different kind of Hello world ... ");
7  closelog();
8 
9 }