forked from KolibriOS/kolibrios
99922e4c2c
git-svn-id: svn://kolibrios.org@9766 a494cfbc-eb01-0410-851d-a64ba20cac60
18 lines
342 B
C
18 lines
342 B
C
#ifndef _SETJMP_H_
|
|
#define _SETJMP_H_
|
|
|
|
#include <stddef.h>
|
|
|
|
typedef unsigned long __jmp_buf[6];
|
|
|
|
typedef struct __jmp_buf_tag {
|
|
__jmp_buf __jb;
|
|
unsigned long __fl;
|
|
unsigned long __ss[128 / sizeof(long)];
|
|
} jmp_buf[1];
|
|
|
|
extern int _FUNC(setjmp)(jmp_buf env);
|
|
extern void _FUNC(longjmp)(jmp_buf env, int val);
|
|
|
|
#endif // _SETJMP_H_
|