shithub: riscv

ref: 339112abc350b0b50ed49a1c92911506025117c7
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);
}