ate,dt
Syntax
#include
<stdlib.h>
void
atexit(fun)
void
(*fun) () ;
Exit without Arguments
Defined in
exit. c in rts. src
Doscription
The atexit function registers the function that is pointed to by fun, to be
called without arguments at normal program termination. Up to 32 func-
tions can be registered.
6-24
When the program exits through a call to the exit function, the functions
that were registered are called, without arguments, in reverse order of their
registration.