shithub: riscv

ref: 71a993b4ca2c455f491aad669e3a4ac2979f6bb8
dir: /sys/src/ape/lib/ap/gen/raise.c/

View raw version
/* not a posix function, but implemented with posix kill, getpid */

#include <sys/types.h>
#include <signal.h>
#include <unistd.h>

int
raise(int sig)
{
	return kill(getpid(), sig);
}