I use FreeBSD7.0,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled question,it
should print some information,such as printf("execute main()") will print
execute main(),but in fact,printf fuction print none!!!
I call syslog(),LOG_USER with Unix C language,it should write a message in
/var/adm/messages in Solaris,such as "connected from 10.1.1.2" ,I want to know
which file in FreeBSD?I look for /var/log/messages,I don't find my message
"connected from 10.1.1.2" in this file. Why?
My syslog.conf is