about summary refs log tree commit diff
path: root/src/exit/abort.c
blob: c5b9e5264f47eaf5cbaf6b198ddf70565d567f73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <stdlib.h>
#include <signal.h>
#include "syscall.h"

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