Standard C++ Library Reference ISO/IEC (VERSION3)

void *bsearch(const void *key, const void *base,
size_t nelem, size_t size,
int (*cmp)(const void *ck,
const void *ce));
extern "C++"
void qsort(void *base, size_t nelem, size_t size,
int (*cmp)(const void *e1, const void *e2));
[C++ only]
extern "C" [C++ only]
void qsort(void *base, size_t nelem, size_t size,
int (*cmp)(const void *e1, const void *e2));
abort
void abort(void);
The function calls raise(SIGABRT), which reports the abort signal, SIGABRT. Default
handling for the abort signal is to cause abnormal program termination and report unsuccessful
termination to the target environment. Whether or not the target environment flushes output
streams, closes open files, or removes temporary files on abnormal termination is
implementation defined. If you specify handling that causes raise to return control to abort,
the function calls exit(EXIT_FAILURE), to report unsuccessful termination with
EXIT_FAILURE. abort never returns control to its caller.
abs
int abs(int i);
long abs(long i); [C++ only]
The function returns the absolute value of i, |i|. The version that accepts a long argument
behaves the same as labs
atexit
extern "C++"
int atexit(void (*func)(void)); [C++ only]
extern "C" [C++ only]
int atexit(void (*func)(void));
The function registers the function whose address is func to be called by exit (or when
main returns) and returns zero if successful. The functions are called in reverse order of
registry. You can register at least 32 functions.