rsalz@bbn.com (Rich Salz) (01/11/89)
In <1329@fig.bbn.com> (an article I just cancelled) I asked Does argument widening happen for <stdarg.h> functions? Judging from the description of printf (i.e., "%f" prints a float argument), it seems that's the case. And it is, in fact, the case. Thanks to Leendert van Doorn <leendert@cs.vu.nl> for the reference, paragraph 3.3.2.2: The ellipsis notation in a function prototype declarator causes argument type conversion to stop after the last declared parameter. The default argument promotions are performed on trailing arguments Other speedy replies came from Doug Gwyn <gwyn@BRL.MIL>, Chris Torek <chris@mimsy.umd.edu>, and Roland McGrath <mcgrath@homer.Berkeley.EDU> Thanks! /rich $alz -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net.