diff options
author | axel <axel@liljencrantz.se> | 2006-10-09 11:21:02 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-10-09 11:21:02 +1000 |
commit | a074cd62bccf9a163d970d77d0c3ba86166045de (patch) | |
tree | 31072cfb44e432d4641e0fb4c87671f299425cd5 /proc.h | |
parent | 7a8b46816556339059878cf62dbe142552de953a (diff) |
Be more rigorous with the exit codes set by the parser and builtins
darcs-hash:20061009012102-ac50b-4f28c43dd1ccdcc04d1620a6da05218a99fd7337.gz
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -25,6 +25,21 @@ #define STATUS_UNKNOWN_COMMAND 127 /** + The status code use when a wildcard had no matches +*/ +#define STATUS_UNMATCHED_WILDCARD 126 + +/** + The status code use when an unknown error occured during execution of a command +*/ +#define STATUS_EXEC_FAIL 125 + +/** + The status code use for erroneous argument combinations in a builtin +*/ +#define STATUS_BUILTIN_ERROR 1 + +/** Types of processes */ enum |