Subject: Re: setjmp/sigsetjmp/longjmp/siglongjmp errors on many ports?
To: Michael Graff <explorer@flame.org>
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
List: tech-userlevel
Date: 11/28/1999 16:53:42
the function may be spelled "setjmp" and "longjmp" at the C language
level, but at the assembly-language and external-linkage level it's
actually spelled "__setjmp14" and "__longjmp14".

see <setjmp.h>:

int	setjmp __P((jmp_buf)) __RENAME(__setjmp14);
void	longjmp __P((jmp_buf, int)) __RENAME(__longjmp14);

and <sys/cdefs.h>:

#define	__RENAME(x)	__asm__(___STRING(_C_LABEL(x)))

					- Bill