Portable uses of jmpbuf's

Henry Spencer henry at utzoo.uucp
Thu Oct 13 02:33:50 AEST 1988


In article <4700022 at m.cs.uiuc.edu> wsmith at m.cs.uiuc.edu writes:
>Some machines define a jmpbuf to be struct { stuff } , while
>others define a jmpbuf to be an array.  In one case, an & is required, 
>while in the other case it is not.

People who define it to be a struct have goofed.  There has been enough
trouble with this that X3J11 specifically defines it to be an array (of
some unspecified type).  Of course, this isn't a lot of comfort if your
compiler isn't X3J11-conforming yet...
-- 
The meek can have the Earth;    |    Henry Spencer at U of Toronto Zoology
the rest of us have other plans.|uunet!attcan!utzoo!henry henry at zoo.toronto.edu



More information about the Comp.lang.c mailing list