diff options
Diffstat (limited to 'src/user/lib/libc/std/stdlib.c')
-rw-r--r-- | src/user/lib/libc/std/stdlib.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/lib/libc/std/stdlib.c b/src/user/lib/libc/std/stdlib.c new file mode 100644 index 0000000..9d46b5c --- /dev/null +++ b/src/user/lib/libc/std/stdlib.c @@ -0,0 +1,8 @@ +#include <stdlib.h> +#include <stdio.h> + +volatile int errno; + +void abort() { + process_exit(100 + errno); +} |