<varargs.h> for Turbo C ?

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Oct 14 13:38:38 AEST 1989


In article <66595 at tut.cis.ohio-state.edu> Loyde W Hales <lwh at cis.ohio-state.edu> writes:
-...  Your problem is that you are looking in the wrong place.  For some
-reason they put it in <stdarg.h>, not the more common <vararg.h>.  (Actually,
-I know the reason.  Remember that ANSI is a draft; for distribution reasons
-many argued that the stuff should be in <stdarg.h> anyway.  This didn't
-happen, for consistency reasons.)
-If the name is that important to you, you can redefine it in the OS or via
-#define.

What in the world is this that you "know"??

<stdarg.h> is in the final C Standard; it replaces the functionality
of the widely-used <varargs.h> with a somewhat incompatible interface,
and requires that variadic functions be declared with the ,... notation.



More information about the Comp.lang.c mailing list