Go to the first, previous, next, last section, table of contents.


Termination Internals

The _exit function is the primitive used for process termination by exit. It is declared in the header file `unistd.h'.

Function: void _exit (int status)
The _exit function is the primitive for causing a process to terminate with status status. Calling this function does not execute cleanup functions registered with atexit or on_exit.

When a process terminates for any reason--either by an explicit termination call, or termination as a result of a signal--the following things happen:


Go to the first, previous, next, last section, table of contents.