exit() - perform normal program termination
#include <stdlib.h>
void exit (int status)
Exit(3) terminates a process.
Before termination it performs the following functions in the order listed:
The exit(3) function never returns.
_exit(2)
atexit(3)
tmpfile(3)