48 #if !defined(HAVE_SIGACTION) && defined(HAVE_SIGVEC)
54 #define SIG_UNBLOCK 01
57 #define SIG_SETMASK 02
64 # include <bsd/signal.h>
72 typedef unsigned long sigset_t;
75 #define sa_mask sv.sv_mask
77 #define sa_handler sv.sv_handler
79 #define sa_flags sv.sv_flags
81 int sigaction(
int sig,
struct sigaction *sigact,
struct sigaction *osigact);
82 int sigprocmask (
int how, sigset_t *mask, sigset_t *omask);
83 int sigemptyset (sigset_t *mask);
84 int sigsuspend (sigset_t *mask);
85 int sigdelset (sigset_t *mask,
int sig);
86 int sigaddset (sigset_t *mask,
int sig);