The setjmp manpage gives the following on includes and function prototypes:
#include <setjmp.h>

int sigsetjmp(sigjmp_buf env, int savemask)
void siglongjump(sigjmp_buf env, int val)
int setjmp(jmp_buf env)
void longjmp(jmp_buf env, int val)
int _setjmp(jmp_buf env)
void _longjmp(jmp_buf env, int val)
void longjmperror(void)

setjmp.h includes <machine/setjmp.h> and defines

#ifndef _ANSI_SOURCE
typedef long sigjmp_buf[_JBLEN+1];
#endif /* not ANSI */
typedef long jmp_buf[_JBLEN]

then includes <sys/cdefs.h> and goes on with the declarations.

-Chris.

Reply via email to