Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ra!olivea!tymix!cirrusl!sunstorm!dhesi From: dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) Newsgroups: comp.lang.c Subject: Re: Do you use stdarg, varargs or ya-args? Message-ID: <3122@cirrusl.UUCP> Date: 10 May 91 16:10:05 GMT References: <2755@muffin.cme.nist.gov> Sender: news@cirrusl.UUCP Reply-To: Rahul Dhesi Lines: 18 In <2755@muffin.cme.nist.gov> libes@cme.nist.gov (Don Libes) writes: >All the STDC (-like) compilers I use support varargs. (To be >explicit, this includes Borland, DEC, GNU, and Microsoft compilers.) >All the non-STDC compilers I use (too many to name) support varargs. Some months ago I had the dubious honor of porting 110,000 lines of UNIX C code to run under the pretty-much-ANSI-conformant High-C compiler from Metaware. In this environment, varargs.h is a hard link to stdarg.h. So varargs.h is supported, but that doesn't mean that "varargs" is supported -- your variadic functions had better use the "..." syntax and the ANSI macros, though you can #include either varargs.h or stdarg.h, whichever you prefer... -- Rahul Dhesi UUCP: oliveb!cirrusl!dhesi