[comp.lang.c] "..." in declarations

gdtltr@vax1.acs.udel.EDU (Gary D Duzan) (07/16/89)

   On page 155 of K&R Second Edition, "..." is used for creating variable
argument lists in declarations. What I want to know is if this is generally
accepted and/or used.
					Gary Duzan
					Time  Lord
				    Third Regeneration

gwyn@smoke.BRL.MIL (Doug Gwyn) (07/16/89)

In article <3994@udccvax1.acs.udel.EDU> gdtltr@vax1.acs.udel.EDU (Gary D Duzan) writes:
>   On page 155 of K&R Second Edition, "..." is used for creating variable
>argument lists in declarations. What I want to know is if this is generally
>accepted and/or used.

It's the only portable way of creating printf-like functions in a
Standard C environment.  Of course, older compilers don't support
this syntax, so its use is limited to recent and future compilers.