summaryrefslogtreecommitdiff
path: root/src/exit/_Exit.c
blob: d18b6183c48f1f1fa99db62fac0ea57d1f97679e (plain)
1
2
3
4
5
6
7
8
#include <stdlib.h>
#include "syscall.h"

void _Exit(int ec)
{
	__syscall(__NR_exit_group, ec);
	__syscall(__NR_exit, ec);
}