1 2 3 4 5 6 7 8 9
/* This tool deliberately logs a message with the a trailing LF */ #include <stdio.h> #include <syslog.h> int main() { syslog(LOG_NOTICE, "test\n"); return 0; }