int closelog
closelog() closes the descriptor being used to write to the system logger. The use of closelog() is optional.