443
edits
-
Changes
Created page with "<strong>ATEXIT</strong> ==SYNOPSIS== #include <stdlib.h> int atexit(void (*func)(void)); ==DESCRIPTION== The <strong>atexit</strong>() function registers the function..."
<strong>ATEXIT</strong>
==SYNOPSIS==
#include <stdlib.h>
int atexit(void (*func)(void));
==DESCRIPTION==
The <strong>atexit</strong>() function registers the function pointed to
by func, to be called without arguments at normal program termination. <strong>Ateixt</strong>() returns zero if the registration succeeds, nonzero if it fails. On program termination, all functions registered by <strong>atexit</strong>() are
called, in the reverse order of their registration.
==SEE ALSO==
exit
==SYNOPSIS==
#include <stdlib.h>
int atexit(void (*func)(void));
==DESCRIPTION==
The <strong>atexit</strong>() function registers the function pointed to
by func, to be called without arguments at normal program termination. <strong>Ateixt</strong>() returns zero if the registration succeeds, nonzero if it fails. On program termination, all functions registered by <strong>atexit</strong>() are
called, in the reverse order of their registration.
==SEE ALSO==
exit