Archive for the ‘O’ Category
closelog, openlog, syslog – send messages to the system logger
USAGE
#include <syslog.h>
void openlog(const char *ident, int option, int facility);
void syslog(int priority, const char *format, …);
void closelog(void);
[...]
open, creat – open and possibly create a file or device
USAGE
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
int open(const char *pathname, int flags);
int open(const [...]
