반응형
-------------------------------------
exit(0);
exit(1);
-------------------------------------
#ifndef EXIT_SUCCESS
#define EXIT_SUCCESS 0 /* Successful exit status. */
#endif
#ifndef EXIT_FAILURE
#define EXIT_FAILURE 1 /* Failing exit status. */
#endif
exit(EXIT_SUCCESS);
exit(EXIT_FAILURE);
-------------------------------------
반응형