tadd exitcode - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d0d15c12d43d201cf916ebfff157b976c8f3b6a1
(DIR) parent 4940b55216d170189ddc4c3ba9fe8b2b0fb507a0
(HTM) Author: rsc <devnull@localhost>
Date: Sun, 12 Feb 2006 19:05:12 +0000
add exitcode
Diffstat:
A src/lib9/exitcode.c | 9 +++++++++
M src/lib9/mkfile | 1 +
2 files changed, 10 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/src/lib9/exitcode.c b/src/lib9/exitcode.c
t@@ -0,0 +1,9 @@
+#include <u.h>
+#include <libc.h>
+
+int
+exitcode(char *s)
+{
+ return 1;
+}
+
(DIR) diff --git a/src/lib9/mkfile b/src/lib9/mkfile
t@@ -99,6 +99,7 @@ LIB9OFILES=\
errstr.$O\
exec.$O\
execl.$O\
+ exitcode.$O\
fcallfmt.$O\
get9root.$O\
getcallerpc-$OBJTYPE.$O\