openlog - open a connection to the logging facility
#include <syslog.h> void openlog(const char *ident, int logopt, int facility);
Refer to closelog().