EXIT(II) 8/5/73 EXIT(II)
NAME
exit - terminate process
SYNOPSIS
(exit = 1.)
(status in r0)
sys exit
exit(status)
int status;
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 r0
(resp. the argument to exit) is available as status to the
parent process.
This call can never return.
SEE ALSO
wait (II)
DIAGNOSTICS
None.