The return code from a c program does not have to be zero.
Zero is a value that happens to indicate a successful completion of the program.
The use of this return code can be seen in this link for batch processing.
A return code of 4 usually indicates a warning has occurred.
A return code of 8 or more indicates an error.
No comments:
Post a Comment