Penguin
Note: You are viewing an old revision of this page. View the current version.

EXIT

EXIT

NAME SYNOPSIS DESCRIPTION RETURN VALUE CONFORMING TO SEE ALSO


NAME

exit - cause normal program termination

SYNOPSIS

#include status);

DESCRIPTION

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

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)?


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.