Address of array

gwyn at BRL.ARPA gwyn at BRL.ARPA
Mon Apr 21 11:19:13 AEST 1986


typedef struct { whatever-you-need } jmp_buf[1];

solves the problem of the way setjmp()'s parameter is used,
with completely type-correct implementation (in the
"whatever-you-need" part).  Too bad setjmp() was defined
as taking an array parameter in the first place.



More information about the Comp.lang.c mailing list