9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

raise.c (132B)


      1 #include <stddef.h>
      2 #include <signal.h>
      3 #include <sys.h>
      4 
      5 #undef raise
      6 
      7 int
      8 raise(int signum)
      9 {
     10 	return _kill(_getpid(), signum);
     11 }