We weren't very systematic about that. It should be correct
to say "0 if no error; nonzero if an error occurred" for
everything. Ideally someone should audit the code to make
sure that's correct, and possibly document distinctions
between different nonzero values if there are any that are
useful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=95236
We weren't very systematic about that. It should be correct
to say "0 if no error; nonzero if an error occurred" for
everything. Ideally someone should audit the code to make
sure that's correct, and possibly document distinctions
between different nonzero values if there are any that are
useful.