add directory kernel
This commit is contained in:
14
kernel/0.95/linux-0.95/lib/_exit.c
Normal file
14
kernel/0.95/linux-0.95/lib/_exit.c
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* 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));
|
||||
}
|
||||
Reference in New Issue
Block a user