Displaying 1 result from an estimated 1 matches for "savesigs".
Did you mean:
save_ifs
2005 Nov 25
0
[LLVMdev] Re: setjmp/longjmp interoperable between llvm and gcc?
...} ZZ_SIGJMP_BUF;
static void
zz_siglongjmp(struct ZZ_SIGJMP_BUF *self, int value)
__attribute__((__noreturn__))
__attribute__((__always_inline__));
void
zz_siglongjmp(struct ZZ_SIGJMP_BUF *self, int value)
{
siglongjmp(self->jmpbuf, value);
}
#define ZZ_SIGSETJMP(zz_sigjmp_buf, savesigs) \
( (zz_sigjmp_buf).zz_siglongjmp = zz_siglongjmp, \
sigsetjmp((zz_sigjmp_buf).jmpbuf, (savesigs)) )
#define ZZ_SIGLONGJMP(zz_sigjmp_buf, value) \
( (zz_sigjmp_buf).zz_siglongjmp(&(zz_sigjmp_buf), (value)) )
/*-----------------------------------------*/