C example uses the MSG facility now to report in interactive mode.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/syslog.h>
|
||||
|
||||
int main(void) {
|
||||
syslog("Hello syslog\n", SYSLOG_USER | SYSLOG_SYSTEM, 1, 1);
|
||||
puts("Hello COS world!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user