xref: /plan9/sys/src/ape/lib/ap/gen/raise.c (revision 9a747e4fd48b9f4522c70c07e8f882a15030f964)
1 /* not a posix function, but implemented with posix kill, getpid */
2 
3 #include <sys/types.h>
4 #include <signal.h>
5 #include <unistd.h>
6 
7 int
raise(int sig)8 raise(int sig)
9 {
10 	return kill(getpid(), sig);
11 }
12