Seem as got it: I should look at C code for particular numbers.
But it should be nice to have typical exit codes and their probable explanations as a document to read or look up.
BUT you should be careful! Not everyone uses the C runtime-library error numbers. Exit codes are application specific, they should be listed in the application documentation.