git: 9front

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