Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: on the fringe of C syntax/semantics Message-ID: <11274@smoke.BRL.MIL> Date: 14 Oct 89 03:10:14 GMT References: <80100001@bonzo> <19971@mimsy.UUCP> <2792@lyle.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <2792@lyle.UUCP> peterson@lyle.UUCP (James L. Peterson/1000000) writes: >How do we refer to the "rest of the argument list". You have to pass the va_list you've va_start()ed (i.e. argp). The called function now gets an argument fo a definite type (va_list), not a variable list of arguments. It must use the va_arg() macro to pick off the remaining arguments.