scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

_sigaction.c (342B)


      1 #include <stddef.h>
      2 #include <sys.h>
      3 
      4 extern int _sigaction2(int sig,
      5                        struct sigaction *new, struct sigaction *old,
      6                        int siginfo[], int num);
      7 
      8 int
      9 _sigaction(int sig, struct sigaction *new, struct sigaction *old)
     10 {
     11 	extern int _setcontext[];
     12 
     13 	return _sigaction2(sig, new, old, _setcontext, 2);
     14 }