This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Close the system log
#include <syslog.h> void closelog( void );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The closelog() function closes the connection to syslogd.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
openlog(), setlogmask(), syslog(), vsyslog()
logger, syslogd in the Utilities Reference