Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
nico
/
archive
/
f79e5351608302264fbd909f99f5420b01079582
/
.
/
lib
/
_exit.c
blob: a1630f42ef30c3aa8182acbb94ec7f40a1814b71 [
file
] [
log
] [
blame
]
/*
* linux/lib/_exit.c
*
* (C) 1991 Linus Torvalds
*/
#define
__LIBRARY__
#include
<linux/unistd.h>
volatile
void
_exit
(
int
exit_code
)
{
fake_volatile
:
__asm__
(
"movl %1,%%ebx\n\t"
"int $0x80"
::
"a"
(
__NR_exit
),
"g"
(
exit_code
));
goto
fake_volatile
;
}