signal.h (210225) | signal.h (210226) |
---|---|
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. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)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. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)signal.h 8.4 (Berkeley) 5/4/95 |
35 * $FreeBSD: head/sys/sys/signal.h 210225 2010-07-18 20:23:10Z trasz $ | 35 * $FreeBSD: head/sys/sys/signal.h 210226 2010-07-18 20:57:53Z trasz $ |
36 */ 37 38#ifndef _SYS_SIGNAL_H_ 39#define _SYS_SIGNAL_H_ 40 41#include <sys/cdefs.h> 42#include <sys/_types.h> 43#include <sys/_sigset.h> --- 73 unchanged lines hidden (view full) --- 117#define SIGRTMAX 126 118 119#define SIG_DFL ((__sighandler_t *)0) 120#define SIG_IGN ((__sighandler_t *)1) 121#define SIG_ERR ((__sighandler_t *)-1) 122/* #define SIG_CATCH ((__sighandler_t *)2) See signalvar.h */ 123#define SIG_HOLD ((__sighandler_t *)3) 124 | 36 */ 37 38#ifndef _SYS_SIGNAL_H_ 39#define _SYS_SIGNAL_H_ 40 41#include <sys/cdefs.h> 42#include <sys/_types.h> 43#include <sys/_sigset.h> --- 73 unchanged lines hidden (view full) --- 117#define SIGRTMAX 126 118 119#define SIG_DFL ((__sighandler_t *)0) 120#define SIG_IGN ((__sighandler_t *)1) 121#define SIG_ERR ((__sighandler_t *)-1) 122/* #define SIG_CATCH ((__sighandler_t *)2) See signalvar.h */ 123#define SIG_HOLD ((__sighandler_t *)3) 124 |
125/* | 125/*- |
126 * Type of a signal handling function. 127 * 128 * Language spec sez signal handlers take exactly one arg, even though we 129 * actually supply three. Ugh! 130 * 131 * We don't try to hide the difference by leaving out the args because 132 * that would cause warnings about conformant programs. Nonconformant 133 * programs can avoid the warnings by casting to (__sighandler_t *) or --- 306 unchanged lines hidden --- | 126 * Type of a signal handling function. 127 * 128 * Language spec sez signal handlers take exactly one arg, even though we 129 * actually supply three. Ugh! 130 * 131 * We don't try to hide the difference by leaving out the args because 132 * that would cause warnings about conformant programs. Nonconformant 133 * programs can avoid the warnings by casting to (__sighandler_t *) or --- 306 unchanged lines hidden --- |