diff options
Diffstat (limited to 'tool/headers/arm/setjmp.h')
-rw-r--r-- | tool/headers/arm/setjmp.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tool/headers/arm/setjmp.h b/tool/headers/arm/setjmp.h new file mode 100644 index 000000000..6b74bccda --- /dev/null +++ b/tool/headers/arm/setjmp.h @@ -0,0 +1,23 @@ +#ifndef _BSD_ARM_SETJMP_H_ +#define _BSD_ARM_SETJMP_H_ + +#define _JBLEN 32 +typedef int jmp_buf[_JBLEN]; +typedef int sigjmp_buf[_JBLEN + 1]; + +int setjmp(jmp_buf env); +void longjmp(jmp_buf env, int val); + +#ifndef _ANSI_SOURCE +int _setjmp(jmp_buf env); +void _longjmp(jmp_buf, int val); +int sigsetjmp(sigjmp_buf env, int val); +void siglongjmp(sigjmp_buf env, int val); +#endif + +#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) +void longjmperror(void); +#endif + +#endif + |