closelog() — Close the control log

Standards

Standards / Extensions C or C++ Dependencies

XPG4.2
Single UNIX Specification, Version 3

both  

Format

#define _XOPEN_SOURCE_EXTENDED 1
#include <syslog.h>

void closelog(void);

General description

The closelog() function closes the log file.

Returned value

closelog() neither accepts an input nor returns a result. The system control log is closed for this process.

No errors are defined.

Related information