atexit(3) DG/UX 4.30 atexit(3)
NAME
atexit - register termination routine
SYNOPSIS
#include <stdlib.h>
int atexit(func)
void (*func) ();
DESCRIPTION
The function pointed to by func is registered to be called
without arguments upon normal program termination. The
functions will be executed in the reverse order of their
registration.
DIAGNOSTICS
Atexit returns zero if func is successfully registered,
otherwise nonzero.
SEE ALSO
exit(3c)
Licensed material--property of copyright holder(s) Page 1