1
0
mirror of synced 2026-04-17 08:40:51 +00:00

C example uses the MSG facility now to report in interactive mode.

This commit is contained in:
Andras Tantos
2024-04-26 11:52:15 -07:00
parent adb4b05940
commit 8b4a0a29e2

View File

@@ -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;
}