sigaction.h - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) 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