add directory kernel
This commit is contained in:
7
kernel/0.00/linux-0.01/lib/_exit.c
Normal file
7
kernel/0.00/linux-0.01/lib/_exit.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#define __LIBRARY__
|
||||
#include <unistd.h>
|
||||
|
||||
volatile void _exit(int exit_code)
|
||||
{
|
||||
__asm__("int $0x80"::"a" (__NR_exit),"b" (exit_code));
|
||||
}
|
||||
Reference in New Issue
Block a user