*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> exit (3)              
Title
Content
Arch
Section
 

EXIT(3)

Contents


NAME    [Toc]    [Back]

       exit - cause normal program termination

SYNOPSIS    [Toc]    [Back]

       #include <stdlib.h>

       void exit(int status);

DESCRIPTION    [Toc]    [Back]

       The  exit() function causes normal program termination and the value of
       status is returned  to  the  parent.   All  functions  registered  with
       atexit()  and on_exit() are called in the reverse order of their registration,
 and all open streams are flushed and closed.

RETURN VALUE    [Toc]    [Back]

       The exit() function does not return.

CONFORMING TO    [Toc]    [Back]

       SVID 3, POSIX, BSD 4.3, ISO 9899

SEE ALSO    [Toc]    [Back]

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



GNU				  1993-04-02			       EXIT(3)
[ Back ]
 Similar pages
Name OS Title
_Exit FreeBSD perform normal program termination
exit FreeBSD perform normal program termination
_Exit OpenBSD perform normal program termination
exit OpenBSD perform normal program termination
exit NetBSD perform normal program termination
atexit Linux register a function to be called at normal program termination.
on_exit Linux register a function to be called at normal program termination.
abort OpenBSD cause abnormal program termination
abort Linux cause abnormal program termination
abort NetBSD cause abnormal program termination
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service