From: utzoo!decvax!cca!lee@usc-cse@sri-unix
Newsgroups: net.unix-wizards
Title: Re:  %r format item in some printf implementations
Article-I.D.: sri-unix.3289
Posted: Wed Sep 15 16:42:28 1982
Received: Thu Sep 16 02:52:57 1982

Date:         13 Sep 1982 11:49-PDT
%r is not portable, since it presumes that you can address the
parameters uniformly.  The varargs stuff, tho a bit clumsy to use, does
the job properly.  It is, however, unfortunate that the designers of
the varargs business did not make a printf format character to accept
the va_list type object and therefore reduce the number of vsprintf
calls needed to pass arguments down levels of message printers.

vsprintf, vfprintf and vprintf are available on System III (tho not
documented) and there is a obvious bug in vsprintf.c where the
vfprintf.c reference to the FILE was not replaced by the reference to
the buffer variable.
						-- Lee