#ifndef __SETJMP_H
#define __SETJMP_H

#ifdef __cplusplus
extern "C" {
#endif

/* We need a C89-standard type that will have 8 byte alignment
 * in all modes. The only choice is "double". */
typedef	double jmp_buf[10];

/* Use the same type for `jmp_buf' and `sigjmp_buf'. */
typedef jmp_buf sigjmp_buf;


int     setjmp (jmp_buf jmpb);
void	longjmp(jmp_buf jmpb, int retval);
int     sigsetjmp (sigjmp_buf env, int savemask);
void    siglongjmp(sigjmp_buf env, int val);

#ifdef __cplusplus
}
#endif

#endif /* __SETJMP_H */
