Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c,net.unix-wizards,net.wanted Subject: Re: need info: %r in printf Message-ID: <3260@utzoo.UUCP> Date: Sun, 16-Oct-83 00:34:18 EDT Article-I.D.: utzoo.3260 Posted: Sun Oct 16 00:34:18 1983 Date-Received: Sun, 16-Oct-83 00:34:18 EDT References: <2151@yale-com.UUCP>, <5420@mcvax.UUCP> Organization: U of Toronto Zoology Lines: 10 Unfortunately, Guido van Rossum's solution to the lack of %r (declaring a whole bunch of arguments) isn't portable either. If you call a function declared with m arguments and pass it n arguments, m != n, the resulting behavior is machine-dependent. In particular, you are *not* guaranteed that the first passed argument will show up as the first declared one. /* VARARGS 1 */ doesn't help -- it just shuts lint up, without affecting how the compiler deals with the situation. -- Henry Spencer @ U of Toronto Zoology {allegra,ihnp4,linus,decvax}!utzoo!henry