closelog()

Updated: April 19, 2023

Close the syslogd 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 syslogd system log.

Classification:

POSIX 1003.1

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