scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
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 }