Varargs in new C standard

Guy Harris guy at rlgvax.UUCP
Tue Aug 14 09:41:55 AEST 1984


Another person had also mentioned the use of an ellipsis to indicate a function
which takes a number (possibly zero) of "fixed" arguments, and a number
of "variable" arguments after it; i.e.,

	int fprintf(FILE *, char *, ...);

This is how it's done in C++, according to the C++ Reference Manual.

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy



More information about the Comp.lang.c mailing list