2021-04-27 18:33:31 +02:00
|
|
|
#ifndef _SETJMP_H_
|
|
|
|
#define _SETJMP_H_
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
typedef unsigned long __jmp_buf[6];
|
|
|
|
|
|
|
|
typedef struct __jmp_buf_tag {
|
2022-04-15 11:11:49 +02:00
|
|
|
__jmp_buf __jb;
|
|
|
|
unsigned long __fl;
|
|
|
|
unsigned long __ss[128 / sizeof(long)];
|
2021-04-27 18:33:31 +02:00
|
|
|
} jmp_buf[1];
|
|
|
|
|
2022-05-09 20:19:05 +02:00
|
|
|
extern int _FUNC(setjmp)(jmp_buf env);
|
|
|
|
extern void _FUNC(longjmp)(jmp_buf env, int val);
|
2021-04-27 18:33:31 +02:00
|
|
|
|
|
|
|
#endif // _SETJMP_H_
|