<varargs.h> for Turbo C ?

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


In article <5940011 at hpcupt1.HP.COM> swh at hpcupt1.HP.COM (Steve Harrold) writes:
><varargs.h> for Turbo C ?
>This would be very helpful when porting C code from a U**X environment.

You'd be much better off converting the code to use <stdarg.h>,
since the C implementation may not support the old <varargs.h> mechanism.
Generally I write my variadic functions to work both ways, depending on
#if __STDC__ to control the particulars.



More information about the Comp.lang.c mailing list