ibcs2_signal.h (68520) | ibcs2_signal.h (92761) |
---|---|
1/* $NetBSD: ibcs2_signal.h,v 1.7 1995/08/14 02:26:01 mycroft Exp $ */ 2 3/* 4 * Copyright (c) 1994, 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * | 1/* $NetBSD: ibcs2_signal.h,v 1.7 1995/08/14 02:26:01 mycroft Exp $ */ 2 3/* 4 * Copyright (c) 1994, 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_signal.h 68520 2000-11-09 08:25:48Z marcel $ | 32 * $FreeBSD: head/sys/i386/ibcs2/ibcs2_signal.h 92761 2002-03-20 05:48:58Z alfred $ |
33 */ 34 35#ifndef _IBCS2_SIGNAL_H 36#define _IBCS2_SIGNAL_H 37 38#define IBCS2_SIGHUP 1 39#define IBCS2_SIGINT 2 40#define IBCS2_SIGQUIT 3 --- 37 unchanged lines hidden (view full) --- 78#define IBCS2_SIGRELSE_MASK 0x0400 79#define IBCS2_SIGIGNORE_MASK 0x0800 80#define IBCS2_SIGPAUSE_MASK 0x1000 81 82#define IBCS2_SIGNO(x) ((x) & IBCS2_SIGNO_MASK) 83#define IBCS2_SIGCALL(x) ((x) & ~IBCS2_SIGNO_MASK) 84 85typedef long ibcs2_sigset_t; | 33 */ 34 35#ifndef _IBCS2_SIGNAL_H 36#define _IBCS2_SIGNAL_H 37 38#define IBCS2_SIGHUP 1 39#define IBCS2_SIGINT 2 40#define IBCS2_SIGQUIT 3 --- 37 unchanged lines hidden (view full) --- 78#define IBCS2_SIGRELSE_MASK 0x0400 79#define IBCS2_SIGIGNORE_MASK 0x0800 80#define IBCS2_SIGPAUSE_MASK 0x1000 81 82#define IBCS2_SIGNO(x) ((x) & IBCS2_SIGNO_MASK) 83#define IBCS2_SIGCALL(x) ((x) & ~IBCS2_SIGNO_MASK) 84 85typedef long ibcs2_sigset_t; |
86typedef void (*ibcs2_sig_t) __P((int)); | 86typedef void (*ibcs2_sig_t)(int); |
87 88struct ibcs2_sigaction { 89 ibcs2_sig_t isa_handler; 90 ibcs2_sigset_t isa_mask; 91 int isa_flags; 92}; 93 94#define IBCS2_SIG_DFL ((ibcs2_sig_t)0) --- 16 unchanged lines hidden --- | 87 88struct ibcs2_sigaction { 89 ibcs2_sig_t isa_handler; 90 ibcs2_sigset_t isa_mask; 91 int isa_flags; 92}; 93 94#define IBCS2_SIG_DFL ((ibcs2_sig_t)0) --- 16 unchanged lines hidden --- |