PWB1/usr/man/man2/exit.2

Compare this file to the similar file:
Show the results in this format:

.th EXIT II 5/31/77
.sh NAME
exit \*- terminate process
.sh SYNOPSIS
(exit = 1.)
.br
(status in r0)
.br
.ft B
sys exit
.s3
exit(status)
.br
int status;
.ft R
.sh DESCRIPTION
.it Exit
is the normal means of terminating a process.
.it Exit
closes all open files of the process, and notifies the parent process,
if it is executing a
.it wait.
The low byte of r0
(resp. the argument to
\fIexit\fR)
is available as status to the parent process.
.s3
This call can never return.
.sh "SEE ALSO"
wait(II)