shithub: riscv

ref: 4ec97f73ee2326209bc56730562e82f2e6fe2c0a
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);
}