need info: %r in printf - (nf)

notes at fortune.UUCP notes at fortune.UUCP
Wed Oct 12 13:03:39 AEST 1983

fortune!olson    Oct 11 19:57:00 1983

John, you are out of luck on this one.  %r was a beautiful kludge which
was undocumented, and went away with post V7 releases.  What it did was allow
you to pass a char ** to printf.  printf then took the rest of the format and
arguments from that pointer.  This was wonderful for doing a common debug/error
function.  It went away .....

By the way, anything following the %r in the format was totally ignored

More information about the Comp.lang.c mailing list