summaryrefslogtreecommitdiff
path: root/trysyslog.c
blob: 4b99afc7d0834d8706841677e7347e01f830605b (plain)
1
2
3
4
5
6
7
8
9
#include <sys/types.h>
#include <sys/time.h>
#include <syslog.h>

main()
{
  openlog("foo",0,LOG_MAIL);
  syslog(0,"foo");
}