S
Stephen Mayes
I notice in my stdlib.h:
#define EXIT_FAILURE 1 /* Failing exit status. */
#define EXIT_SUCCESS 0 /* Successful exit status. */
Are these definitions dictated by the standard? I've seen them used often
in
this group so I assume they are.
If so, are there any other standard defined return values that I could use
in functions?
i.e RETURN_SUCCESS, ERR_NO_MEM, ERR_FILE_NOT_OPENED, ERR_BAD_PROGRAMMER, or
such?
Stephen
#define EXIT_FAILURE 1 /* Failing exit status. */
#define EXIT_SUCCESS 0 /* Successful exit status. */
Are these definitions dictated by the standard? I've seen them used often
in
this group so I assume they are.
If so, are there any other standard defined return values that I could use
in functions?
i.e RETURN_SUCCESS, ERR_NO_MEM, ERR_FILE_NOT_OPENED, ERR_BAD_PROGRAMMER, or
such?
Stephen