You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
198 B
14 lines
198 B
3 years ago
|
/*
|
||
|
* linux/lib/_exit.c
|
||
|
*
|
||
|
* (C) 1991 Linus Torvalds
|
||
|
*/
|
||
|
|
||
|
#define __LIBRARY__
|
||
|
#include <unistd.h>
|
||
|
|
||
|
volatile void _exit(int exit_code)
|
||
|
{
|
||
|
__asm__("int $0x80"::"a" (__NR_exit),"b" (exit_code));
|
||
|
}
|