Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!henry From: henry@utzoo.UUCP (Henry Spencer) Newsgroups: net.lang.c,net.unix-wizards,net.wanted Subject: Re: need info: %r in printf Message-ID: <3261@utzoo.UUCP> Date: Sun, 16-Oct-83 00:40:59 EDT Article-I.D.: utzoo.3261 Posted: Sun Oct 16 00:40:59 1983 Date-Received: Sun, 16-Oct-83 00:40:59 EDT References: <2151@yale-com.UUCP>, <164@washu.UUCP> Organization: U of Toronto Zoology Lines: 14 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