summaryrefslogtreecommitdiff
path: root/src/exit/abort.c
blob: 203dd35cb99d23b16a31409b149df824950b73f9 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdlib.h>
#include <signal.h>
#include "syscall.h"

_Noreturn void abort(void)
{
	raise(SIGABRT);
	raise(SIGKILL);
	for (;;);
}