need info: %r in printf
Henry Spencer
henry at utzoo.UUCP
Sun Oct 16 14:34:18 AEST 1983
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
More information about the Comp.lang.c
mailing list