signalvar.h (43208) | signalvar.h (48621) |
---|---|
1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)signalvar.h 8.6 (Berkeley) 2/19/95 | 1/* 2 * Copyright (c) 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)signalvar.h 8.6 (Berkeley) 2/19/95 |
34 * $Id: signalvar.h,v 1.22 1999/01/07 21:23:46 julian Exp $ | 34 * $Id: signalvar.h,v 1.23 1999/01/26 02:38:11 julian Exp $ |
35 */ 36 37#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */ 38#define _SYS_SIGNALVAR_H_ 39 40#include <sys/signal.h> 41 42/* --- 7 unchanged lines hidden (view full) --- 50 */ 51struct sigacts { 52 sig_t ps_sigact[NSIG]; /* disposition of signals */ 53 sigset_t ps_catchmask[NSIG]; /* signals to be blocked */ 54 sigset_t ps_sigonstack; /* signals to take on sigstack */ 55 sigset_t ps_sigintr; /* signals that interrupt syscalls */ 56 sigset_t ps_sigreset; /* signals that reset when caught */ 57 sigset_t ps_signodefer; /* signals not masked while handled */ | 35 */ 36 37#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */ 38#define _SYS_SIGNALVAR_H_ 39 40#include <sys/signal.h> 41 42/* --- 7 unchanged lines hidden (view full) --- 50 */ 51struct sigacts { 52 sig_t ps_sigact[NSIG]; /* disposition of signals */ 53 sigset_t ps_catchmask[NSIG]; /* signals to be blocked */ 54 sigset_t ps_sigonstack; /* signals to take on sigstack */ 55 sigset_t ps_sigintr; /* signals that interrupt syscalls */ 56 sigset_t ps_sigreset; /* signals that reset when caught */ 57 sigset_t ps_signodefer; /* signals not masked while handled */ |
58 sigset_t ps_siginfo; /* signals that want SA_SIGINFO args */ |
|
58 int ps_flags; /* signal flags, below */ 59 struct sigaltstack ps_sigstk; /* sp & on stack state variable */ 60 sigset_t ps_usertramp; /* SunOS compat; libc sigtramp XXX */ 61}; 62 63/* signal flags */ 64#define SAS_OLDMASK 0x01 /* need to restore mask before pause */ 65#define SAS_ALTSTACK 0x02 /* have alternate signal stack */ --- 112 unchanged lines hidden --- | 59 int ps_flags; /* signal flags, below */ 60 struct sigaltstack ps_sigstk; /* sp & on stack state variable */ 61 sigset_t ps_usertramp; /* SunOS compat; libc sigtramp XXX */ 62}; 63 64/* signal flags */ 65#define SAS_OLDMASK 0x01 /* need to restore mask before pause */ 66#define SAS_ALTSTACK 0x02 /* have alternate signal stack */ --- 112 unchanged lines hidden --- |