Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: sigaction.h
/* The proper definitions for Linux's sigaction.
[0] Fix | Delete
Copyright (C) 1993-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _BITS_SIGACTION_H
[18] Fix | Delete
#define _BITS_SIGACTION_H 1
[19] Fix | Delete
[20] Fix | Delete
#ifndef _SIGNAL_H
[21] Fix | Delete
# error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
[22] Fix | Delete
#endif
[23] Fix | Delete
[24] Fix | Delete
/* Structure describing the action to be taken when a signal arrives. */
[25] Fix | Delete
struct sigaction
[26] Fix | Delete
{
[27] Fix | Delete
/* Signal handler. */
[28] Fix | Delete
#if defined __USE_POSIX199309 || defined __USE_XOPEN_EXTENDED
[29] Fix | Delete
union
[30] Fix | Delete
{
[31] Fix | Delete
/* Used if SA_SIGINFO is not set. */
[32] Fix | Delete
__sighandler_t sa_handler;
[33] Fix | Delete
/* Used if SA_SIGINFO is set. */
[34] Fix | Delete
void (*sa_sigaction) (int, siginfo_t *, void *);
[35] Fix | Delete
}
[36] Fix | Delete
__sigaction_handler;
[37] Fix | Delete
# define sa_handler __sigaction_handler.sa_handler
[38] Fix | Delete
# define sa_sigaction __sigaction_handler.sa_sigaction
[39] Fix | Delete
#else
[40] Fix | Delete
__sighandler_t sa_handler;
[41] Fix | Delete
#endif
[42] Fix | Delete
[43] Fix | Delete
/* Additional set of signals to be blocked. */
[44] Fix | Delete
__sigset_t sa_mask;
[45] Fix | Delete
[46] Fix | Delete
/* Special flags. */
[47] Fix | Delete
int sa_flags;
[48] Fix | Delete
[49] Fix | Delete
/* Restore handler. */
[50] Fix | Delete
void (*sa_restorer) (void);
[51] Fix | Delete
};
[52] Fix | Delete
[53] Fix | Delete
/* Bits in `sa_flags'. */
[54] Fix | Delete
#define SA_NOCLDSTOP 1 /* Don't send SIGCHLD when children stop. */
[55] Fix | Delete
#define SA_NOCLDWAIT 2 /* Don't create zombie on child death. */
[56] Fix | Delete
#define SA_SIGINFO 4 /* Invoke signal-catching function with
[57] Fix | Delete
three arguments instead of one. */
[58] Fix | Delete
#if defined __USE_XOPEN_EXTENDED || defined __USE_MISC
[59] Fix | Delete
# define SA_ONSTACK 0x08000000 /* Use signal stack by using `sa_restorer'. */
[60] Fix | Delete
#endif
[61] Fix | Delete
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
[62] Fix | Delete
# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */
[63] Fix | Delete
# define SA_NODEFER 0x40000000 /* Don't automatically block the signal when
[64] Fix | Delete
its handler is being executed. */
[65] Fix | Delete
# define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler. */
[66] Fix | Delete
#endif
[67] Fix | Delete
#ifdef __USE_MISC
[68] Fix | Delete
# define SA_INTERRUPT 0x20000000 /* Historical no-op. */
[69] Fix | Delete
[70] Fix | Delete
/* Some aliases for the SA_ constants. */
[71] Fix | Delete
# define SA_NOMASK SA_NODEFER
[72] Fix | Delete
# define SA_ONESHOT SA_RESETHAND
[73] Fix | Delete
# define SA_STACK SA_ONSTACK
[74] Fix | Delete
#endif
[75] Fix | Delete
[76] Fix | Delete
/* Values for the HOW argument to `sigprocmask'. */
[77] Fix | Delete
#define SIG_BLOCK 0 /* Block signals. */
[78] Fix | Delete
#define SIG_UNBLOCK 1 /* Unblock signals. */
[79] Fix | Delete
#define SIG_SETMASK 2 /* Set the set of blocked signals. */
[80] Fix | Delete
[81] Fix | Delete
#endif
[82] Fix | Delete
[83] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function