diff options
Diffstat (limited to 'src/user/lib/stdlib.c')
-rw-r--r-- | src/user/lib/stdlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/lib/stdlib.c b/src/user/lib/stdlib.c index 857b40e..94e12d3 100644 --- a/src/user/lib/stdlib.c +++ b/src/user/lib/stdlib.c @@ -45,3 +45,7 @@ int execv(const char *path, char *const argv[]) { errno = EINVAL; return -1; } + +_Noreturn void abort(void) { + _syscall_exit(1); +} |