need info: %r in printf
Henry Spencer
henry at utzoo.UUCP
Sun Oct 16 14:40:59 AEST 1983
washu!eric says:
"_doprnt(fmt, &args, stderr); /* this is the good line */"
On the contrary, this is the bad, unportable, implementation-dependent
line. If you search chapter 3 of the Unix manual, you will not find
an entry for _doprnt. This is because it is a detail of the implementation,
not a guaranteed feature of the library. There are Unixes that don't have
such a function. Incidentally, the technique of passing _doprnt a whole
argument list by passing it the address of one argument is also machine-
dependent and unportable.
--
Henry Spencer @ U of Toronto Zoology
{allegra,ihnp4,linus,decvax}!utzoo!henry
More information about the Comp.unix.wizards
mailing list