signal.h (98301) | signal.h (102227) |
---|---|
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 * $FreeBSD: head/sys/sys/signal.h 98301 2002-06-16 18:35:24Z wollman $ | 39 * $FreeBSD: head/sys/sys/signal.h 102227 2002-08-21 16:20:02Z mike $ |
40 */ 41 42#ifndef _SYS_SIGNAL_H_ 43#define _SYS_SIGNAL_H_ 44 45#include <sys/cdefs.h> 46#include <sys/_posix.h> 47#include <sys/_sigset.h> --- 162 unchanged lines hidden (view full) --- 210 211/* Additional FreeBSD values. */ 212#define SI_UNDEFINED 0 213 214typedef void __siginfohandler_t(int, struct __siginfo *, void *); 215 216typedef __sighandler_t *sig_t; /* type of pointer to a signal function */ 217 | 40 */ 41 42#ifndef _SYS_SIGNAL_H_ 43#define _SYS_SIGNAL_H_ 44 45#include <sys/cdefs.h> 46#include <sys/_posix.h> 47#include <sys/_sigset.h> --- 162 unchanged lines hidden (view full) --- 210 211/* Additional FreeBSD values. */ 212#define SI_UNDEFINED 0 213 214typedef void __siginfohandler_t(int, struct __siginfo *, void *); 215 216typedef __sighandler_t *sig_t; /* type of pointer to a signal function */ 217 |
218#ifdef _BSD_SIZE_T_ 219typedef _BSD_SIZE_T_ size_t; 220#undef _BSD_SIZE_T_ | 218#ifndef _SIZE_T_DECLARED 219typedef __size_t size_t; 220#define _SIZE_T_DECLARED |
221#endif 222 223/* 224 * Structure used in sigaltstack call. 225 */ 226typedef struct sigaltstack { 227 char *ss_sp; /* signal stack base */ 228 size_t ss_size; /* signal stack length */ --- 67 unchanged lines hidden --- | 221#endif 222 223/* 224 * Structure used in sigaltstack call. 225 */ 226typedef struct sigaltstack { 227 char *ss_sp; /* signal stack base */ 228 size_t ss_size; /* signal stack length */ --- 67 unchanged lines hidden --- |