|
|
1.1.1.2 root 1: /*
2: * linux/lib/_exit.c
3: *
1.1.1.6 ! root 4: * Copyright (C) 1991, 1992 Linus Torvalds
1.1.1.2 root 5: */
6:
1.1 root 7: #define __LIBRARY__
1.1.1.4 root 8: #include <linux/unistd.h>
1.1 root 9:
10: volatile void _exit(int exit_code)
11: {
1.1.1.5 root 12: fake_volatile:
1.1.1.3 root 13: __asm__("movl %1,%%ebx\n\t"
14: "int $0x80"::"a" (__NR_exit),"g" (exit_code));
1.1.1.5 root 15: goto fake_volatile;
1.1 root 16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.