]>
Commit | Line | Data |
---|---|---|
6796bc80 | 1 | #ifndef _SETJMP_H |
28f540f4 | 2 | #include <setjmp/setjmp.h> |
bdbf022d | 3 | |
31341567 | 4 | #ifndef _ISOMAC |
bdbf022d UD |
5 | /* Now define the internal interfaces. */ |
6 | ||
7 | /* Internal machine-dependent function to restore context sans signal mask. */ | |
aaa8d85c | 8 | extern void __longjmp (__jmp_buf __env, int __val) |
661462d5 | 9 | __attribute__ ((__noreturn__)) attribute_hidden; |
bdbf022d UD |
10 | |
11 | /* Internal function to possibly save the current mask of blocked signals | |
12 | in ENV, and always set the flag saying whether or not it was saved. | |
13 | This is used by the machine-dependent definition of `__sigsetjmp'. | |
14 | Always returns zero, for convenience. */ | |
aaa8d85c | 15 | extern int __sigjmp_save (jmp_buf __env, int __savemask); |
48896b9d AJ |
16 | |
17 | extern void _longjmp_unwind (jmp_buf env, int val); | |
18 | ||
92d70263 | 19 | extern void __libc_siglongjmp (sigjmp_buf env, int val) |
31341567 | 20 | __attribute__ ((noreturn)); |
92d70263 UD |
21 | extern void __libc_longjmp (sigjmp_buf env, int val) |
22 | __attribute__ ((noreturn)); | |
e9395a94 | 23 | libc_hidden_proto (__libc_longjmp) |
784d802e | 24 | |
9b4289aa | 25 | libc_hidden_proto (_setjmp) |
cd2fbe58 | 26 | libc_hidden_proto (__sigsetjmp) |
661462d5 L |
27 | |
28 | # if IS_IN (rtld) | |
29 | extern __typeof (__sigsetjmp) __sigsetjmp attribute_hidden; | |
30 | # endif | |
31341567 | 31 | #endif |
9b4289aa | 32 | |
6796bc80 | 33 | #endif |