What ever happened to %r in printf ?

Henry Spencer henry at utzoo.UUCP
Wed Jun 4 09:38:24 AEST 1986


> Does anyone know why the %r formatting option of printf was
> never documented on older UNIX systems ?  It doesn't exist
> on the Sys 5 Rel 2 we have.

There is no portable way to write the corresponding argument.  vprintf
(in cooperation with varargs.h) is intended as a portable way to get
the same effect.
-- 
Usenet(n): AT&T scheme to earn
revenue from otherwise-unused	Henry Spencer @ U of Toronto Zoology
late-night phone capacity.	{allegra,ihnp4,decvax,pyramid}!utzoo!henry



More information about the Comp.lang.c mailing list