Next: setlogmask, Previous: syslog; vsyslog, Up: Submitting Syslog Messages
The symbols referred to in this section are declared in the file syslog.h.
closelogcloses 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.
closeloghas primarily aesthetic value.