| description | Learn more about: EXIT_SUCCESS, EXIT_FAILURE | ||||
|---|---|---|---|---|---|
| title | EXIT_SUCCESS, EXIT_FAILURE | ||||
| ms.date | 06/25/2018 | ||||
| f1_keywords |
|
||||
| helpviewer_keywords |
|
#include <stdlib.h>The EXIT_SUCCESS and EXIT_FAILURE constants are arguments for the exit and _exit functions, and the return values for the atexit and _onexit functions.
| Constant | Defined value |
|---|---|
EXIT_SUCCESS |
0 |
EXIT_FAILURE |
1 |