Varargs in new C standard

Howard A. Landman howard at metheus.UUCP
Fri Aug 10 09:05:30 AEST 1984


How about using a well-understood English language convention to indicate
optional arguments?  Namely, the ellipsis, "...".  For example:

	printf(char *, ...);
	fprintf(FILE *, char *, ...);
	sprintf(char *, char *, ...);

Isn't this perfectly clear?  I can't see any way that this would conflict
with any other C keywords or usage.  Is there something I'm missing?

	Howard A. Landman
	ogcvax!metheus!howard	(until August 14th)

	"If I knew the way, I would take you home"



More information about the Comp.lang.c mailing list