Synopsis
#include <stdlib.h>
int atexit(void (*function)(void));
Description

atexit registers function to be called when the application has exited. The functions registered with atexit are executed in reverse order of their registration. atexit returns 0 on success and non-zero on failure.

Portability

bsearch conforms to ISO/IEC 9899:1990 (C90) and ISO/IEC 9899:1999 (C99).