Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include
File: setjmp.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
/*
[17] Fix | Delete
* ISO C99 Standard: 7.13 Nonlocal jumps <setjmp.h>
[18] Fix | Delete
*/
[19] Fix | Delete
[20] Fix | Delete
#ifndef _SETJMP_H
[21] Fix | Delete
#define _SETJMP_H 1
[22] Fix | Delete
[23] Fix | Delete
#include <features.h>
[24] Fix | Delete
[25] Fix | Delete
__BEGIN_DECLS
[26] Fix | Delete
[27] Fix | Delete
#include <bits/setjmp.h> /* Get `__jmp_buf'. */
[28] Fix | Delete
#include <bits/types/__sigset_t.h>
[29] Fix | Delete
[30] Fix | Delete
/* Calling environment, plus possibly a saved signal mask. */
[31] Fix | Delete
struct __jmp_buf_tag
[32] Fix | Delete
{
[33] Fix | Delete
/* NOTE: The machine-dependent definitions of `__sigsetjmp'
[34] Fix | Delete
assume that a `jmp_buf' begins with a `__jmp_buf' and that
[35] Fix | Delete
`__mask_was_saved' follows it. Do not move these members
[36] Fix | Delete
or add others before it. */
[37] Fix | Delete
__jmp_buf __jmpbuf; /* Calling environment. */
[38] Fix | Delete
int __mask_was_saved; /* Saved the signal mask? */
[39] Fix | Delete
__sigset_t __saved_mask; /* Saved signal mask. */
[40] Fix | Delete
};
[41] Fix | Delete
[42] Fix | Delete
[43] Fix | Delete
typedef struct __jmp_buf_tag jmp_buf[1];
[44] Fix | Delete
[45] Fix | Delete
/* Store the calling environment in ENV, also saving the signal mask.
[46] Fix | Delete
Return 0. */
[47] Fix | Delete
extern int setjmp (jmp_buf __env) __THROWNL;
[48] Fix | Delete
[49] Fix | Delete
/* Store the calling environment in ENV, also saving the
[50] Fix | Delete
signal mask if SAVEMASK is nonzero. Return 0.
[51] Fix | Delete
This is the internal name for `sigsetjmp'. */
[52] Fix | Delete
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROWNL;
[53] Fix | Delete
[54] Fix | Delete
/* Store the calling environment in ENV, not saving the signal mask.
[55] Fix | Delete
Return 0. */
[56] Fix | Delete
extern int _setjmp (struct __jmp_buf_tag __env[1]) __THROWNL;
[57] Fix | Delete
[58] Fix | Delete
/* Do not save the signal mask. This is equivalent to the `_setjmp'
[59] Fix | Delete
BSD function. */
[60] Fix | Delete
#define setjmp(env) _setjmp (env)
[61] Fix | Delete
[62] Fix | Delete
[63] Fix | Delete
/* Jump to the environment saved in ENV, making the
[64] Fix | Delete
`setjmp' call there return VAL, or 1 if VAL is 0. */
[65] Fix | Delete
extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
[66] Fix | Delete
__THROWNL __attribute__ ((__noreturn__));
[67] Fix | Delete
[68] Fix | Delete
#if defined __USE_MISC || defined __USE_XOPEN
[69] Fix | Delete
/* Same. Usually `_longjmp' is used with `_setjmp', which does not save
[70] Fix | Delete
the signal mask. But it is how ENV was saved that determines whether
[71] Fix | Delete
`longjmp' restores the mask; `_longjmp' is just an alias. */
[72] Fix | Delete
extern void _longjmp (struct __jmp_buf_tag __env[1], int __val)
[73] Fix | Delete
__THROWNL __attribute__ ((__noreturn__));
[74] Fix | Delete
#endif
[75] Fix | Delete
[76] Fix | Delete
[77] Fix | Delete
#ifdef __USE_POSIX
[78] Fix | Delete
/* Use the same type for `jmp_buf' and `sigjmp_buf'.
[79] Fix | Delete
The `__mask_was_saved' flag determines whether
[80] Fix | Delete
or not `longjmp' will restore the signal mask. */
[81] Fix | Delete
typedef struct __jmp_buf_tag sigjmp_buf[1];
[82] Fix | Delete
[83] Fix | Delete
/* Store the calling environment in ENV, also saving the
[84] Fix | Delete
signal mask if SAVEMASK is nonzero. Return 0. */
[85] Fix | Delete
# define sigsetjmp(env, savemask) __sigsetjmp (env, savemask)
[86] Fix | Delete
[87] Fix | Delete
/* Jump to the environment saved in ENV, making the
[88] Fix | Delete
sigsetjmp call there return VAL, or 1 if VAL is 0.
[89] Fix | Delete
Restore the signal mask if that sigsetjmp call saved it.
[90] Fix | Delete
This is just an alias `longjmp'. */
[91] Fix | Delete
extern void siglongjmp (sigjmp_buf __env, int __val)
[92] Fix | Delete
__THROWNL __attribute__ ((__noreturn__));
[93] Fix | Delete
#endif /* Use POSIX. */
[94] Fix | Delete
[95] Fix | Delete
[96] Fix | Delete
/* Define helper functions to catch unsafe code. */
[97] Fix | Delete
#if __USE_FORTIFY_LEVEL > 0
[98] Fix | Delete
# include <bits/setjmp2.h>
[99] Fix | Delete
#endif
[100] Fix | Delete
[101] Fix | Delete
__END_DECLS
[102] Fix | Delete
[103] Fix | Delete
#endif /* setjmp.h */
[104] Fix | Delete
[105] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function