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

void _Exit(int ec)
{
	__syscall(SYS_exit_group, ec);
	__syscall(SYS_exit, ec);
}