securityos/public/Users/Public/Sistemas/1º Linux/Linux-0.0.1/lib/_exit.c

8 lines
143 B
C
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
#define __LIBRARY__
#include <unistd.h>
volatile void _exit(int exit_code)
{
__asm__("int $0x80"::"a" (__NR_exit),"b" (exit_code));
}