.th exit IV 4/21/86
.sh NAME
exit - terminate process
.s3
.sh SYNOPSIS
exit(status)
.br
int status;
.ft R
.sh DESCRIPTION
Exit is the normal means of terminating a process.  Exit closes all the
process's files and notifies the parent process if it is executing a
wait.  The low byte of the argument to exit is available as
status to the parent process.
.s3
This call can never return.
.sh "SEE ALSO"
wait (IV)
.sh DIAGNOSTICS
None.
