plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit d0d15c12d43d201cf916ebfff157b976c8f3b6a1
parent 4940b55216d170189ddc4c3ba9fe8b2b0fb507a0
Author: rsc <devnull@localhost>
Date:   Sun, 12 Feb 2006 19:05:12 +0000

add exitcode

Diffstat:
Asrc/lib9/exitcode.c | 9+++++++++
Msrc/lib9/mkfile | 1+
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/lib9/exitcode.c b/src/lib9/exitcode.c @@ -0,0 +1,9 @@ +#include <u.h> +#include <libc.h> + +int +exitcode(char *s) +{ + return 1; +} + diff --git a/src/lib9/mkfile b/src/lib9/mkfile @@ -99,6 +99,7 @@ LIB9OFILES=\ errstr.$O\ exec.$O\ execl.$O\ + exitcode.$O\ fcallfmt.$O\ get9root.$O\ getcallerpc-$OBJTYPE.$O\