V3/man/man2/exit.2

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

.pa 1
.he 'EXIT (II)'3/15/72'EXIT (II)'
.ti 0
NAME		exit  --  terminate process
.sp
.ti 0
SYNOPSIS	(status in r0)
.br
sys exit  / exit = 1
.sp
.ti 0
DESCRIPTION	exit____
is the normal means of terminating a process.
Exit closes all the process' files and notifies the parent process
if it is executing a wait____.
The low byte of r0
is available as status to the parent process.
.sp
This call can never return.
.sp
.ti 0
SEE ALSO	wait(II)
.sp
.ti 0
DIAGNOSTICS	-
.sp
.ti 0
BUGS		--