closelog()

QNX SDP8.0C Library ReferenceAPIDeveloper

Close the slogger2 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 the system log that is used by syslog() and vsyslog(). Calling syslog() or vsyslog() automatically re-opens the connection.

Classification:

POSIX 1003.1

Safety:
Cancellation pointYes
Signal handlerNo
ThreadYes
Page updated: