exit_codes Module

Module Description

Uniform list of exit codes with values that may vary according to any prevailing standards for a given platform [1], [2].

General Exit Codes


Successful completion of process.


Unsuccessful completion of process without error.

(Example: POSIX grep returns 1 when no lines are matched.)


Exiting process because of a general error.

(Example: POSIX grep returns 2 on error.)


Exiting process because the software failed an internal consistency check or assertion, encountered an unimplemented virtual method, etc....