1 2 3 4 5 6 7
#define __LIBRARY__ #include <unistd.h> volatile void _exit(int exit_code) { __asm__("int $0x80"::"a" (__NR_exit),"b" (exit_code)); }