SYSLOG.H(3HEAD) | Headers | SYSLOG.H(3HEAD) |
syslog.h, syslog - definitions for system error logging
#include <syslog.h>
The <syslog.h> header defines the following symbolic constants, zero or more of which can be OR'ed together to form the logopt option of openlog():
LOG_PID
LOG_CONS
LOG_NDELAY
LOG_ODELAY
LOG_NOWAIT
The following symbolic constants are defined as possible values of the facility argument to openlog():
LOG_KERN
LOG_USER
LOG_MAIL
LOG_NEWS
LOG_UUCP
LOG_DAEMON
LOG_AUTH
LOG_CRON
LOG_LPR
LOG_LOCAL0
LOG_LOCAL1
LOG_LOCAL2
LOG_LOCAL3
LOG_LOCAL4
LOG_LOCAL5
LOG_LOCAL6
LOG_LOCAL7
The following is declared as a macro for constructing the maskpri argument to setlogmask(). The following macro expands to an expression of type int when the argument pri is an expre ssion of type int:
LOG_MASK(pri)
The following constants are defined as possible values for the priority argument of syslog():
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
September 10, 2003 | OmniOS |