Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
setjmp.h
Go to the documentation of this file.
1 #ifndef __SETJMP_H_
2 #define __SETJMP_H_
3 
4 #include <_types/_setjmp.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 typedef struct __jmp_buf_tag
11 {
12  __jmp_buf __jb;
13  unsigned long __fl;
14  unsigned long __ss[128 / sizeof(long)];
15 } jmp_buf[1];
16 
18 
19 #ifndef DISABLE_UNIMPLEMENTED_LIBC_APIS
20 int sigsetjmp(sigjmp_buf, int);
21 void siglongjmp(sigjmp_buf, int) __attribute__((noreturn));
22 #endif
23 
24 #ifndef DISABLE_UNIMPLEMENTED_LIBC_APIS
25 int _setjmp(jmp_buf);
26 int setjmp(jmp_buf);
27 
28 void _longjmp(jmp_buf, int) __attribute__((noreturn));
29 void longjmp(jmp_buf, int) __attribute__((noreturn));
30 #endif
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif // __SETJMP_H_
__attribute__((noreturn, weak)) void __assert_fail(const char *expr
void _longjmp(jmp_buf, int) __attribute__((noreturn))
int setjmp(jmp_buf)
int _setjmp(jmp_buf)
int sigsetjmp(sigjmp_buf, int)
unsigned long __ss[128/sizeof(long)]
Definition: setjmp.h:14
void longjmp(jmp_buf, int) __attribute__((noreturn))
jmp_buf sigjmp_buf
Definition: setjmp.h:17
struct __jmp_buf_tag jmp_buf[1]
__jmp_buf __jb
Definition: setjmp.h:12
void siglongjmp(sigjmp_buf, int) __attribute__((noreturn))
unsigned long __fl
Definition: setjmp.h:13