opuntiaOS - an operating system targeting x86 and ARMv7
at master 205 B view raw
1#include <signal.h> 2#include <stdlib.h> 3#include <sysdep.h> 4 5void exit(int status) 6{ 7 DO_SYSCALL_1(SYS_EXIT, status); 8 __builtin_unreachable(); 9} 10 11void abort() 12{ 13 raise(SIGABRT); 14 exit(127); 15}