diff options
author | Marvin Borner | 2020-05-02 15:44:11 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-02 15:44:11 +0200 |
commit | aa8a8811818331cf511681327e3ba95e456f0d33 (patch) | |
tree | 852c314dae76e756863f94639ff45eff72834d5d /src/userspace/libc/unistd/exit.c | |
parent | 2a0e810a473dea57fd1cd53ea424b61269c029ba (diff) |
Added many syscalls to get better POSIX compliance
Diffstat (limited to 'src/userspace/libc/unistd/exit.c')
-rw-r--r-- | src/userspace/libc/unistd/exit.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/userspace/libc/unistd/exit.c b/src/userspace/libc/unistd/exit.c new file mode 100644 index 0000000..03b54fe --- /dev/null +++ b/src/userspace/libc/unistd/exit.c @@ -0,0 +1,9 @@ +#include <stdint.h> +#include <syscall.h> + +void exit(u32 code) +{ + syscall_exit(code); + while (1) { + }; +}
\ No newline at end of file |