_exits.c - 9base - revived minimalist port of Plan 9 userland to Unix | |
git clone git://git.suckless.org/9base | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
_exits.c (115B) | |
--- | |
1 #include <u.h> | |
2 #include <libc.h> | |
3 | |
4 void | |
5 _exits(char *s) | |
6 { | |
7 if(s == 0 || *s == 0) | |
8 _exit(0); | |
9 _exit(exitcode(s)); | |
10 } |