scc

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

sigaction.h (336B)


      1 typedef unsigned int sigset_t;
      2 typedef struct siginfo siginfo_t;
      3 
      4 struct sigaction {
      5 	union {
      6 		void (*__sa_handler)(int);
      7 		void (*__sa_sigaction)(int, siginfo_t *, void *);
      8 	} __sigaction_u;
      9 
     10 	sigset_t sa_mask;
     11 	int sa_flags;
     12 };
     13 
     14 #define sa_handler      __sigaction_u.__sa_handler
     15 #define sa_sigaction    __sigaction_u.__sa_sigaction