man(1) Manual page archive


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 pro-
     cess 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.

 1