_POSIX_C_SOURCE >= 200112L implies C99.
[glibc/history.git] / include / setjmp.h
blob6863f51c11fec0f7b1da15ae52b587c0e82629d2
1 #ifndef _SETJMP_H
2 #include <setjmp/setjmp.h>
4 /* Now define the internal interfaces. */
6 /* Internal machine-dependent function to restore context sans signal mask. */
7 extern void __longjmp (__jmp_buf __env, int __val)
8 __attribute__ ((__noreturn__));
10 /* Internal function to possibly save the current mask of blocked signals
11 in ENV, and always set the flag saying whether or not it was saved.
12 This is used by the machine-dependent definition of `__sigsetjmp'.
13 Always returns zero, for convenience. */
14 extern int __sigjmp_save (jmp_buf __env, int __savemask);
16 extern void _longjmp_unwind (jmp_buf env, int val);
18 extern void __libc_siglongjmp (sigjmp_buf env, int val)
19 __attribute__ ((noreturn));
20 extern void __libc_longjmp (sigjmp_buf env, int val)
21 __attribute__ ((noreturn));
22 libc_hidden_proto (__libc_longjmp)
24 libc_hidden_proto (_setjmp)
25 libc_hidden_proto (__sigsetjmp)
27 #endif