Operating systems, development tools, and professional services
for connected embedded systems

Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation

closelog

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