blob: 09e31f6f37cd6d04e2ac379101c0893bdacc4943 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/*
* linux/lib/_exit.c
*
* (C) 1991 Linus Torvalds
*/
#define __LIBRARY__
#include <unistd.h>
void _exit(int exit_code)
{
__asm__ __volatile__ ("int $0x80"::"a" (__NR_exit),"b" (exit_code));
}
|