Variable argument lists.

Richard A. O'Keefe ok at quintus.UUCP
Fri May 13 12:50:40 AEST 1988


In article <27794 at cca.CCA.COM>, g-rh at 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.



More information about the Comp.lang.c mailing list