10 #include <bits/setjmp.h>
12 typedef struct __jmp_buf_tag {
15 unsigned long __ss[128/sizeof(long)];
18 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 1)
19 #define __setjmp_attr __attribute__((__returns_twice__))
24 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
25 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
26 || defined(_BSD_SOURCE)
27 typedef jmp_buf sigjmp_buf;
28 int sigsetjmp (sigjmp_buf, int) __setjmp_attr;
29 _Noreturn void siglongjmp (sigjmp_buf, int);
32 #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) \
33 || defined(_BSD_SOURCE)
34 int _setjmp (jmp_buf) __setjmp_attr;
35 _Noreturn void _longjmp (jmp_buf, int);
38 int setjmp (jmp_buf) __setjmp_attr;
39 _Noreturn void longjmp (jmp_buf, int);