shithub: riscv

ref: 63f9a4fda36f916e543c8f3ea117b31c194a4db7
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);
}