exit codes

Where can a locate a list of Unix exit codes?
thank you,

For UNIX systems call, these are normally in the header files.

Try places like /usr/include and similar directories. Search (grep, egrep) for what you are seeking. That is the way I do it :wink:

The exit codes for system calls can also be found in the man pages for those system calls.


Good reply and suggestion! I always read the source and forgot about the MAN pages!!