Provided by: manpages-zh_1.5.2-1_all bug

NAME

       exit -

SYNOPSIS

       #include <stdlib.h>

       void exit(int status);

DESCRIPTION

        exit() status & 0377  ( wait(2))  atexit()  on_exit()  tmpfile()

       C  EXIT_SUCCESS  EXIT_FAILURE exit()

RETURN VALUE

        exit()

CONFORMING TO

       SVID 3, POSIX, BSD 4.3, ISO 9899 (``ANSI C'')

NOTES

        exit  atexit()  on_exit()  exit()  longjmp()

        0  1  -1 EXIT_SUCCESS  EXIT_FAILURE  ( Unix )VMS

       BSD  - <sysexits.h>

       exit()  SA_NOCLDWAIT SIGCHLD  SIG_IGN (``zombie'') wait()

        SIGCHLD  SA_NOCLDWAIT(?)

        session leader SIGHUP

        SIGHUP  SIGCONT

SEE ALSO

       _exit(2), wait(2), atexit(3), on_exit(3), tmpfile(3)

                                  2001-11-17                           EXIT(3)