Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 821 Bytes

exit-success-exit-failure.md

File metadata and controls

27 lines (20 loc) · 821 Bytes
descriptiontitlems.datef1_keywordshelpviewer_keywords
Learn more about: EXIT_SUCCESS, EXIT_FAILURE
EXIT_SUCCESS, EXIT_FAILURE
06/25/2018
EXIT_FAILURE
EXIT_SUCCESS
STDLIB/EXIT_FAILURE
STDLIB/EXIT_SUCCESS
EXIT_SUCCESS constant
EXIT_FAILURE constant

EXIT_SUCCESS, EXIT_FAILURE

Required header

#include<stdlib.h>

Remarks

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.

ConstantDefined value
EXIT_SUCCESS0
EXIT_FAILURE1

See also

Global constants

close