From 0781a7772ae1385fe8d7a734fdb35df81b1e6590 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Nov 2014 10:52:16 -0800 Subject: Remove sigvec. --- signal/signal.h | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'signal/signal.h') diff --git a/signal/signal.h b/signal/signal.h index f1bbad0..fd23ad6 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -303,30 +303,6 @@ extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) extern const char *const _sys_siglist[_NSIG]; extern const char *const sys_siglist[_NSIG]; -/* Structure passed to `sigvec'. */ -struct sigvec - { - __sighandler_t sv_handler; /* Signal handler. */ - int sv_mask; /* Mask of signals to be blocked. */ - - int sv_flags; /* Flags (see below). */ -# define sv_onstack sv_flags /* 4.2 BSD compatibility. */ - }; - -/* Bits in `sv_flags'. */ -# define SV_ONSTACK (1 << 0)/* Take the signal on the signal stack. */ -# define SV_INTERRUPT (1 << 1)/* Do not restart system calls. */ -# define SV_RESETHAND (1 << 2)/* Reset handler to SIG_DFL on receipt. */ - - -/* If VEC is non-NULL, set the handler for SIG to the `sv_handler' member - of VEC. The signals in `sv_mask' will be blocked while the handler runs. - If the SV_RESETHAND bit is set in `sv_flags', the handler for SIG will be - reset to SIG_DFL before `sv_handler' is entered. If OVEC is non-NULL, - it is filled in with the old information for SIG. */ -extern int sigvec (int __sig, const struct sigvec *__vec, - struct sigvec *__ovec) __THROW; - /* Get machine-dependent `struct sigcontext' and signal subcodes. */ # include -- cgit v1.1