diff options
-rw-r--r-- | wirish/syscalls.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wirish/syscalls.c b/wirish/syscalls.c index 1e62d51..a3b6d2c 100644 --- a/wirish/syscalls.c +++ b/wirish/syscalls.c @@ -168,3 +168,8 @@ __weak char *fgets(char *s, int bufsize, void *f) { cgets(s, bufsize); return s; } + +__weak void _exit(int exitcode) { + while (1) + ; +} |