varargs

Andrew Koenig ark at alice.UucP
Sat May 3 07:14:00 AEST 1986


I think people are confusing two different meanings for the same term:

	1. the practice of writing programs that accept varying
	numbers of actual parameters by declaring a single formal
	parameter, taking its address, and incrementing that
	address in various devious ways.

	2. the practice of writing programs that accept varying
	numbers of actual parameters and access them using ONLY the
	facilities provided by <varargs.h> .  The particular
	implementation of these facilities may differ from one
	machine to another.

I said I don't know offhand of a machine that can't implement #2.
I am being deluged by descriptions of machines that can't implement #1.



More information about the Comp.lang.c mailing list