Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

closelog()

Close the system log

Synopsis:

#include <syslog.h>

void closelog( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The closelog() function closes the connection to syslogd.

Classification:

POSIX 1003.1 XSI

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread Yes

See also:

openlog(), setlogmask(), syslog(), vsyslog()

logger, syslogd in the Utilities Reference