What ever happened to %r in printf ?

Andrew Koenig ark at alice.UucP
Sat May 31 04:37:56 AEST 1986


> The %r tells printf to use &fmt as the address of a
> printf formatting string, and to get the arguments
> for it off the stack.  I don't know if it would
> work if fmt contained another %r.  Can vprintf be
> used to produce the same result ?

Vprintf and varargs.h can be used to produce a very
similar result, but portably.



More information about the Comp.lang.c mailing list