Archive for the ‘S’ 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);
[...]
brk, sbrk – change data segment size
USAGE
#include <unistd.h>
int brk(void *end_data_segment);
void *sbrk(intptr_t increment);
DESCRIPTION
brk() sets the end of the data segment to [...]
scandir, alphasort, versionsort – scan a directory for matching entries
USAGE
#include <dirent.h>
int scandir(const char *dir, struct dirent ***namelist,
int(*filter)(const struct dirent *),
[...]
sh – command interpreter (shell)
USAGE
sh [-/+aCefnuvxIimqsVEbc] [-o longname] [target ...]
DESCRIPTION
Sh is the standard command interpreter for the system. The current ver-
sion of sh is in the process of being changed to conform with the POSIX
1003.2 [...]
