shithub: riscv

ref: 29b1f55e7390043efef033578083694fb85dbe99
dir: /sys/src/ape/lib/ap/gen/abort.c/

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

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