1 /* 2 * linux/lib/_exit.c 3 * 4 * Copyright (C) 1991, 1992 Linus Torvalds 5 */ 6 7 #define __LIBRARY__ 8 #include <linux/unistd.h> 9 10 volatile void _exit(int exit_code) /* */ 11 { 12 fake_volatile: 13 __asm__("movl %1,%%ebx\n\t" 14 "int $0x80"::"a" (__NR_exit),"g" (exit_code)); 15 goto fake_volatile; 16 }