aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-09 11:21:02 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-09 11:21:02 +1000
commita074cd62bccf9a163d970d77d0c3ba86166045de (patch)
tree31072cfb44e432d4641e0fb4c87671f299425cd5 /proc.h
parent7a8b46816556339059878cf62dbe142552de953a (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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/proc.h b/proc.h
index b44d024a..baf7af53 100644
--- a/proc.h
+++ b/proc.h
@@ -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