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);

[...]

Thursday, August 27th, 2009 at 00:26 | Comments Off
Categories: O, S, c

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 [...]

Wednesday, August 26th, 2009 at 02:41 | Comments Off
Categories: B, S

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 *),
[...]

Wednesday, August 26th, 2009 at 01:50 | Comments Off
Categories: A, S, V

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 [...]

Tuesday, August 25th, 2009 at 22:37 | Comments Off
Categories: S
TOP