7.20.4.2 The atexit function
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.
Environmental limits
The implementation shall support the registration of at least 32 functions.
Returns
The atexit function returns zero if the registration succeeds, nonzero if it fails.
Forward References