|
It is, of course, purely convention. I can write a program that performs perfectly, and return the value 7,356. Nevertheless, I always return a 0 (EXIT_SUCCESS) for success and almost always 1 (EXIT_FAILURE) for anything else. While Tempest is absolutely correct, it isn't something one can bank on. I see jillions of things that return nothing. The executive usually replaces that nothing with something, but you can't know what it is, always. Check the documentation for the application, but be aware that someone who isn't doing it conventionally will probably not even address the question.
|