Why not a varargs declaration? - (nf)

andree at uokvax.UUCP andree at uokvax.UUCP
Sun Nov 20 15:35:22 AEST 1983


#R:wu1:-18500:uokvax:3000007:000:496
uokvax!andree    Nov  9 06:05:00 1983

Might I also suggest coping the void function argument ala:

	f(varargs) <what DO you put here?>; {

Or, better yet:

	f(a, b, varargs) int a, b; <ditto>; {

Varargs f() isn't bad - I think the above fits C better (how do
you declare a pointer to struct gort as varargs?). Agregates
strike me as a BAD idea.  Though reasonable in and of
themselves, they would seem to require a major mod to C.

I vaguely recall (possibly wrongly) a rumor that some at Bell
was working on such a creature.

	<mike



More information about the Comp.lang.c mailing list