diff options
author | Damien Miller <djm@mindrot.org> | 2000-07-11 12:55:49 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-07-11 12:55:49 +1000 |
commit | a4b9ed11163df10f5a41ddff12d360d68edbe07c (patch) | |
tree | 73104aef0f5045342807a77773af6847e5cee494 | |
parent | 5c8b2501f7276af61008a7bdefebf992c3c5394a (diff) |
Doh - forgot to commit
-rw-r--r-- | bsd-sigaction.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/bsd-sigaction.h b/bsd-sigaction.h index c968b003..b37c1f84 100644 --- a/bsd-sigaction.h +++ b/bsd-sigaction.h @@ -67,28 +67,14 @@ struct sigaction struct sigvec sv; }; -#define sigset_t _nc_sigset_t typedef unsigned long sigset_t; #undef sa_mask -#define sa_mask sv_mask +#define sa_mask sv.sv_mask #undef sa_handler -#define sa_handler sv_handler +#define sa_handler sv.sv_handler #undef sa_flags -#define sa_flags sv_flags - -#undef sigaction -#define sigaction _nc_sigaction -#undef sigprocmask -#define sigprocmask _nc_sigprocmask -#undef sigemptyset -#define sigemptyset _nc_sigemptyset -#undef sigsuspend -#define sigsuspend _nc_sigsuspend -#undef sigdelset -#define sigdelset _nc_sigdelset -#undef sigaddset -#define sigaddset _nc_sigaddset +#define sa_flags sv.sv_flags int sigaction(int sig, struct sigaction *sigact, struct sigaction *osigact); int sigprocmask (int how, sigset_t *mask, sigset_t *omask); |