1 /* Structure and constant definitions for sigaction et al. OSF/1 version.
2 Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
4 Contributed by Brendan Kehoe (brendan@zen.org).
6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
11 The GNU C Library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public
17 License along with the GNU C Library; if not, write to the Free
18 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
22 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
25 /* Structure describing the action to be taken when a signal arrives. */
29 __sighandler_t sa_handler;
31 /* Additional set of signals to be blocked. */
38 /* Bits in `sa_flags'. */
40 # define SA_ONSTACK 0x1 /* Take signal on signal stack. */
41 # define SA_RESTART 0x2 /* Restart syscall on signal return. */
42 # define SA_DISABLE 0x4 /* Disable alternate signal stack. */
44 #define SA_NOCLDSTOP 0x4 /* Don't send SIGCHLD when children stop. */
47 /* Values for the HOW argument to `sigprocmask'. */
48 #define SIG_BLOCK 1 /* Block signals. */
49 #define SIG_UNBLOCK 2 /* Unblock signals. */
50 #define SIG_SETMASK 3 /* Set the set of blocked signals. */