Can ANYONE tell me why this code snippet doesn't work??

Henry Spencer henry at utzoo.uucp
Sun Oct 23 09:04:37 AEST 1988


In article <982 at mina.liu.se> mikpe at mina.liu.se (Mikael Pettersson) writes:
>The great advantage in using varargs(3) is PORTABILITY. It's guaranteed
>to work in any conforming ANSI C implementation (where it's called <stdarg.h>)

Beware:  varargs.h and stdarg.h are not quite the same.  Unfortunately.
-- 
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