Created
March 2, 2011 23:29
-
-
Save Vagabond/851995 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include <syslog.h> | |
int main(int argc, char **argv) { | |
long logopt, facility; | |
openlog("test", LOG_PID, LOG_LOCAL0); | |
syslog(LOG_ERR, "This is a string with some newlines\n and some tabs\t and some carraige returns\r\n \n"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment