Control system log (varargs)
#include <syslog.h> #include <stdarg.h> void vsyslog( int priority, const char *message, va_list args );
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The vsyslog() function writes message to the system message logger. The message is then written to the system console, log files, and logged-in users, or forwarded to other machines as appropriate. (See the syslogd command.)
This function is a “varargs” version of syslog().
closelog(), openlog(), setlogmask(), syslog()
logger, syslogd in the Utilities Reference