The Wayback Machine - https://web.archive.org/web/20120523194528/http://en.cppreference.com/w/cpp/utility/program/EXIT_status

EXIT_SUCCESS, EXIT_FAILURE

From cppreference.com
Jump to: navigation, search
Defined in header <cstdlib>
#define EXIT_SUCCESS /*implementation defined*/
#define EXIT_FAILURE /*implementation defined*/

The EXIT_SUCCESS and EXIT_FAILURE macros expand into an integral expression and indicate program execution status.

Constant Explanation
EXIT_SUCCESS successful execution of a program
EXIT_FAILURE unsuccessful execution of a program

[edit] See also

C documentation for EXIT_SUCCESS, EXIT_FAILURE
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox