functions terminate a process.
performs the following functions in the order listed:
- Call the functions registered with the
function, in the reverse order of their registration.
- Flush all open output streams.
- Close all open streams.
- Unlink all files created with the
function terminates without calling the functions registered with the
function, and may or may not perform the other actions listed.
Both functions make the low-order eight bits of the
argument available to a parent process which has called a
wait 2 -family
The C Standard
defines the values
as possible values of
Cooperating processes may use other values;
in a program which might be called by a mail transfer agent, the
values described in
may be used to provide more information to the parent process.
does nothing to prevent bottomless recursion should a function registered
Such functions must call
instead (although this has other effects as well which may not be desired).