2.9BSD/usr/man/cat2/exit.2

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

EXIT(2)             UNIX Programmer's Manual              EXIT(2)

NAME
     exit - terminate process

SYNOPSIS
     exit(status)
     int status;

     _exit(status)
     int status;

DESCRIPTION
     _E_x_i_t is the normal means of terminating a process.  _E_x_i_t
     closes all the process's files and notifies the parent pro-
     cess if it is executing a _w_a_i_t.  The low-order 8 bits of
     _s_t_a_t_u_s are available to the parent process.

     This call can never return.

     The C function _e_x_i_t may cause cleanup actions before the
     final `sys exit'.  The function __e_x_i_t circumvents all
     cleanup.

SEE ALSO
     wait(2)

ASSEMBLER
     (exit = 1.)
     (status in r0)
     sys exit

Printed 9/10/82                                                 1