Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/vsyslog.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/vsyslog.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/vsyslog.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/vsyslog.html on line 8
Control system log (varargs)
#include <syslog.h>
#include <stdarg.h>
void vsyslog( int priority,
const char *message,
va_list args );
- priority
- The priority of the message; see
“Message levels,”
in the documentation for
syslog().
- message
- The message that you want to write.
This message is identical to a
printf()-format
string, except that %m is replaced by the current
error message (as denoted by the global variable
errno).
A trailing newline is added if none is present.
- args
- A variable-argument list of the additional arguments, which you
must have initialized with the
va_start()
macro.
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().
Unix
Safety: | |
Cancellation point |
Yes |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
closelog(),
openlog(),
setlogmask(),
syslog()
logger,
syslogd
in the Utilities Reference
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/v/vsyslog.html on line 139
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/v/vsyslog.html on line 139