toaruos/libc/unistd/exit.c

8 lines
96 B
C
Raw Normal View History

#include <unistd.h>
2018-09-15 10:26:45 +03:00
#include <stdlib.h>
void exit(int val) {
2018-09-15 10:26:45 +03:00
_handle_atexit();
_exit(val);
}