Deleted Added
full compact
signalvar.h (1817) signalvar.h (3098)
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.3 (Berkeley) 1/4/94
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.3 (Berkeley) 1/4/94
34 * $Id$
34 * $Id: signalvar.h,v 1.2 1994/08/02 07:53:33 davidg Exp $
35 */
36
37#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */
38#define _SYS_SIGNALVAR_H_
39
40/*
41 * Kernel signal definitions and data structures,
42 * not exported to user programs.

--- 32 unchanged lines hidden (view full) ---

75
76/*
77 * Determine signal that should be delivered to process p, the current
78 * process, 0 if none. If there is a pending stop signal with default
79 * action, the process stops in issig().
80 */
81#define CURSIG(p) \
82 (((p)->p_siglist == 0 || \
35 */
36
37#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */
38#define _SYS_SIGNALVAR_H_
39
40/*
41 * Kernel signal definitions and data structures,
42 * not exported to user programs.

--- 32 unchanged lines hidden (view full) ---

75
76/*
77 * Determine signal that should be delivered to process p, the current
78 * process, 0 if none. If there is a pending stop signal with default
79 * action, the process stops in issig().
80 */
81#define CURSIG(p) \
82 (((p)->p_siglist == 0 || \
83 ((p)->p_flag & P_TRACED) == 0 && \
84 ((p)->p_siglist & ~(p)->p_sigmask) == 0) ? \
83 (((p)->p_flag & P_TRACED) == 0 && \
84 ((p)->p_siglist & ~(p)->p_sigmask) == 0)) ? \
85 0 : issignal(p))
86
87/*
88 * Clear a pending signal from a process.
89 */
90#define CLRSIG(p, sig) { (p)->p_siglist &= ~sigmask(sig); }
91
92/*

--- 76 unchanged lines hidden ---
85 0 : issignal(p))
86
87/*
88 * Clear a pending signal from a process.
89 */
90#define CLRSIG(p, sig) { (p)->p_siglist &= ~sigmask(sig); }
91
92/*

--- 76 unchanged lines hidden ---