Path: utzoo!attcan!uunet!husc6!cmcl2!adm!smoke!gwyn From: gwyn@smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Passing Arguments In C Message-ID: <8530@smoke.ARPA> Date: 19 Sep 88 02:34:12 GMT References: <2232@ssc-vax.UUCP> <12241@oberon.USC.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <12241@oberon.USC.EDU> blarson@skat.usc.edu (Bob Larson) writes: >There are two semi-portable ways of doing it, known as varargs and stdargs. >(varargs comes from bsd, stdargs from ansi.) Come on, was written at Bell Labs and has been provided on all releases of UNIX in recent history. resembles it to some degree but relies on a couple of extra hooks to ensure that it can be reasonably implemented on all architectures. In particular it needs the (, ...) notification to the compiler of the special nature of a variadic-argument function.