-
Difference between revisions of "Functions HI-TECH C ATEXIT"
From HI-TECH C for CP/M Fan WIKI(EN)
(Created page with "<strong>ATEXIT</strong> ==SYNOPSIS== #include <stdlib.h> int atexit(void (*func)(void)); ==DESCRIPTION== The <strong>atexit</strong>() function registers the function...") |
(No difference)
|
Latest revision as of 18:16, 31 July 2017
ATEXIT
SYNOPSIS
#include <stdlib.h> int atexit(void (*func)(void));
DESCRIPTION
The atexit() function registers the function pointed to by func, to be called without arguments at normal program termination. Ateixt() returns zero if the registration succeeds, nonzero if it fails. On program termination, all functions registered by atexit() are called, in the reverse order of their registration.
SEE ALSO
exit