15 lines
220 B
C
15 lines
220 B
C
/*
|
|
* linux/lib/_exit.c
|
|
*
|
|
* (C) 1991 Linus Torvalds
|
|
*/
|
|
|
|
#define __LIBRARY__
|
|
#include <unistd.h>
|
|
|
|
volatile void _exit(int exit_code)
|
|
{
|
|
__asm__("movl %1,%%ebx\n\t"
|
|
"int $0x80"::"a" (__NR_exit),"g" (exit_code));
|
|
}
|