The header <cstdlib> has the same functionality as the standard C header stdlib.h in regards to start and termination functions except for the functions and macros as described below.
| Macro | Value | Meaning |
|---|---|---|
| EXIT_FAILURE | 1 | This macro is used to signify a failed return |
| EXIT_SUCCESS | 0 | This macro is used to signify a successful return |
The return from the main function is ignored on the Macintosh operating system and is returned using the native event processing method on other operating systems.