|Declaration||int atexit(void (*func)(void));|
|Function||causes the function pointed to by func to be called upon normal program termination.|
|Return||returns zero if the function is successfully registered as a termination function and nonzero otherwise.|
At least 32 termination functions can be registered, and they will be called in the reverse order of their registration.
printf("Error in atexit().");