summaryrefslogtreecommitdiff
path: root/bsd-sigaction.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-11 12:55:49 +1000
committerDamien Miller <djm@mindrot.org>2000-07-11 12:55:49 +1000
commita4b9ed11163df10f5a41ddff12d360d68edbe07c (patch)
tree73104aef0f5045342807a77773af6847e5cee494 /bsd-sigaction.h
parent5c8b2501f7276af61008a7bdefebf992c3c5394a (diff)
Doh - forgot to commit
Diffstat (limited to 'bsd-sigaction.h')
-rw-r--r--bsd-sigaction.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/bsd-sigaction.h b/bsd-sigaction.h
index c968b0031..b37c1f84a 100644
--- a/bsd-sigaction.h
+++ b/bsd-sigaction.h
@@ -67,28 +67,14 @@ struct sigaction
67 struct sigvec sv; 67 struct sigvec sv;
68}; 68};
69 69
70#define sigset_t _nc_sigset_t
71typedef unsigned long sigset_t; 70typedef unsigned long sigset_t;
72 71
73#undef sa_mask 72#undef sa_mask
74#define sa_mask sv_mask 73#define sa_mask sv.sv_mask
75#undef sa_handler 74#undef sa_handler
76#define sa_handler sv_handler 75#define sa_handler sv.sv_handler
77#undef sa_flags 76#undef sa_flags
78#define sa_flags sv_flags 77#define sa_flags sv.sv_flags
79
80#undef sigaction
81#define sigaction _nc_sigaction
82#undef sigprocmask
83#define sigprocmask _nc_sigprocmask
84#undef sigemptyset
85#define sigemptyset _nc_sigemptyset
86#undef sigsuspend
87#define sigsuspend _nc_sigsuspend
88#undef sigdelset
89#define sigdelset _nc_sigdelset
90#undef sigaddset
91#define sigaddset _nc_sigaddset
92 78
93int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact); 79int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact);
94int sigprocmask (int how, sigset_t *mask, sigset_t *omask); 80int sigprocmask (int how, sigset_t *mask, sigset_t *omask);