shithub: riscv

ref: 1c738e2a16487b42a030e4b71c3caaad9c7eb446
dir: /sys/src/ape/lib/ap/gen/abort.c/

View raw version
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>

void
abort(void)
{
	kill(getpid(), SIGABRT);
}