Computer Science


EXIT(3)             Linux Programmer's Manual             EXIT(3)

NAME
       exit - cause normal program termination

SYNOPSIS
       #include <stdlib.h>

       void exit(int status);

DESCRIPTION
       The  exit() function causes normal program termination and
       the value of status is returned to the parent.  All  func-
       tions 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
       The exit() function does not return.

CONFORMING TO
       SVID 3, POSIX, BSD 4.3, ISO 9899

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

GNU                       April 2, 1993                         1

Back to the index


Apply now!


Handbook

Postgraduate study options

Computer Science Blog



Please give us your feedback or ask us a question

This message is...


My feedback or question is...


My email address is...

(Only if you need a reply)

A to Z Directory | Site map | Accessibility | Copyright | Privacy | Disclaimer | Feedback on this page