EXIT(3) — C LIBRARY FUNCTIONS
NAME
exit − terminate a process after performing cleanup
SYNOPSIS
exit(status)
int status;
DESCRIPTION
exit() terminates a process by calling exit(2) after calling any termination handlers named by calls to on_exit. Normally, this is just the Standard I/O library function _cleanup. exit() never returns.
SEE ALSO
exit(2), intro(3S), on_exit(3)
Sun Release 4.0 — Last change: 6 October 1987