You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
363 B
17 lines
363 B
#ifndef _SETJMP_H
|
|
#define _SETJMP_H
|
|
|
|
/* longjump wants %ebp, %esp, %eip, %ebx, %esi, %edi */
|
|
#define _JBLEN 32
|
|
#define _SJBLEN (_JBLEN+4)
|
|
|
|
typedef char * jmp_buf[_JBLEN];
|
|
typedef char * sigjmp_buf[_SJBLEN];
|
|
|
|
int setjmp(jmp_buf env);
|
|
void longjmp(jmp_buf env, int val);
|
|
int sigsetjmp(sigjmp_buf env, int savemask);
|
|
int siglongjmp(sigjmp_buf env, int val);
|
|
|
|
#endif
|