Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!quintus!ok From: ok@quintus.UUCP (Richard A. O'Keefe) Newsgroups: comp.lang.c Subject: Re: Variable argument lists. Message-ID: <964@cresswell.quintus.UUCP> Date: 13 May 88 02:50:40 GMT References: <14139@brl-adm.ARPA> <11435@mimsy.UUCP> <27794@cca.CCA.COM> Organization: Quintus Computer Systems, Mountain View, CA Lines: 12 In article <27794@cca.CCA.COM>, g-rh@cca.CCA.COM (Richard Harter) writes: (somebody wrote) > >>In VAX C [by which I presume he means some version of VMS C] there > >>is a macro called va_count. > If the gismo returns the > length of the argument section of the stack then it is simply misnamed. The DEC manual clearly says as the first sentence of 20.2.2 "This macro returns the number of LONGWORDS in the argument list." It explicitly warns that if your arguments aren't longword sized, you may have to figure out for yourself how many arguments that is.