aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-12-14 00:34:31 +1000
committerGravatar axel <axel@liljencrantz.se>2006-12-14 00:34:31 +1000
commit24fea5dd7b1232efba673f5984a57b21fce0934e (patch)
tree9b1edc080bfe1a622f209b7f56558ee1aef807f5 /proc.h
parent2b05bdfa94116b4f37d3fcc461ac2778959c8491 (diff)
Code cleanup: Use a macro constant instead fo a literal for builtin exit codes
darcs-hash:20061213143431-ac50b-5c5cec623ecca9f52c7d44cfcb26f07fe2fcda39.gz
Diffstat (limited to 'proc.h')
-rw-r--r--proc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index dd2ee135..21b39ac0 100644
--- a/proc.h
+++ b/proc.h
@@ -35,7 +35,12 @@
#define STATUS_EXEC_FAIL 125
/**
- The status code use for erroneous argument combinations in a builtin
+ The status code used for normal exit in a builtin
+*/
+#define STATUS_BUILTIN_OK 0
+
+/**
+ The status code used for erroneous argument combinations in a builtin
*/
#define STATUS_BUILTIN_ERROR 1