gtpc2m0yC/C++ Language Support User's Guide

closelog-Close the System Control Log

This function closes the log file. Use this function with the openlog function and the syslog function to use the logging facilities provided with the syslog daemon.

See TPF Transmission Control Protocol/Internet Protocol for more information about the syslog daemon.

Format

#include <syslog.h>
void     closelog(void);

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

Examples

See syslog-Send a Message to the Control Log for an example of using the closelog function.

Related Information