signal.h (22975) | signal.h (29340) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)signal.h 8.4 (Berkeley) 5/4/95 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)signal.h 8.4 (Berkeley) 5/4/95 |
39 * $Id$ | 39 * $Id: signal.h,v 1.11 1997/02/22 09:45:53 peter Exp $ |
40 */ 41 42#ifndef _SYS_SIGNAL_H_ 43#define _SYS_SIGNAL_H_ 44 45#include <sys/cdefs.h> 46#include <machine/signal.h> /* sig_atomic_t; trap codes; sigcontext */ 47 --- 79 unchanged lines hidden (view full) --- 127 sigset_t sa_mask; /* signal mask to apply */ 128 int sa_flags; /* see signal options below */ 129}; 130#ifndef _POSIX_SOURCE 131#define SA_ONSTACK 0x0001 /* take signal on signal stack */ 132#define SA_RESTART 0x0002 /* restart system call on signal return */ 133#define SA_RESETHAND 0x0004 /* reset to SIG_DFL when taking signal */ 134#define SA_NODEFER 0x0010 /* don't mask the signal we're delivering */ | 40 */ 41 42#ifndef _SYS_SIGNAL_H_ 43#define _SYS_SIGNAL_H_ 44 45#include <sys/cdefs.h> 46#include <machine/signal.h> /* sig_atomic_t; trap codes; sigcontext */ 47 --- 79 unchanged lines hidden (view full) --- 127 sigset_t sa_mask; /* signal mask to apply */ 128 int sa_flags; /* see signal options below */ 129}; 130#ifndef _POSIX_SOURCE 131#define SA_ONSTACK 0x0001 /* take signal on signal stack */ 132#define SA_RESTART 0x0002 /* restart system call on signal return */ 133#define SA_RESETHAND 0x0004 /* reset to SIG_DFL when taking signal */ 134#define SA_NODEFER 0x0010 /* don't mask the signal we're delivering */ |
135#define SA_NOCLDWAIT 0x0020 /* don't keep zombies around */ |
|
135#ifdef COMPAT_SUNOS 136#define SA_USERTRAMP 0x0100 /* do not bounce off kernel's sigtramp */ 137#endif 138#endif /* _POSIX_SOURCE */ 139#define SA_NOCLDSTOP 0x0008 /* do not generate SIGCHLD on child stop */ 140 141/* 142 * Flags for sigprocmask: --- 66 unchanged lines hidden --- | 136#ifdef COMPAT_SUNOS 137#define SA_USERTRAMP 0x0100 /* do not bounce off kernel's sigtramp */ 138#endif 139#endif /* _POSIX_SOURCE */ 140#define SA_NOCLDSTOP 0x0008 /* do not generate SIGCHLD on child stop */ 141 142/* 143 * Flags for sigprocmask: --- 66 unchanged lines hidden --- |