Next: setlogmask, Previous: syslog; vsyslog, Up: Submitting Syslog Messages
The symbols referred to in this section are declared in the file syslog.h.
closelog
closes the current Syslog connection, if there is one. This include closing the dev/log socket, if it is open.There is very little reason to use this function. It does not flush any buffers; you can reopen a Syslog connection without closing it first; The connection gets closed automatically on exec or exit.
closelog
has primarily aesthetic value.