Unknown commands should set the status flag to 127, as in bash and friends

darcs-hash:20061008234650-ac50b-d41e6ec3d0a6088b0addf5721aecf8d98ed866cd.gz
This commit is contained in:
axel
2006-10-09 09:46:50 +10:00
parent 414fa591b8
commit 770fa771b6
2 changed files with 10 additions and 3 deletions

4
proc.h
View File

@@ -19,6 +19,10 @@
#include "util.h"
#include "io.h"
/**
The status code use when a command was not found
*/
#define STATUS_UNKNOWN_COMMAND 127
/**
Types of processes