Updated: April 19, 2023 |
Control the syslogd system log (varargs)
#include <syslog.h> #include <stdarg.h> void vsyslog( int priority, const char *message, va_list args );
libc
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().
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | No |