Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site ccvaxa.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!mhuxj!houxm!ihnp4!inuxc!pur-ee!uiucdcs!ccvaxa!willcox From: willcox@ccvaxa.UUCP Newsgroups: net.unix-wizards Subject: Re: Re: modification to /usr/src/lib/lib Message-ID: <47500004@ccvaxa.UUCP> Date: Fri, 14-Dec-84 09:50:00 EST Article-I.D.: ccvaxa.47500004 Posted: Fri Dec 14 09:50:00 1984 Date-Received: Mon, 17-Dec-84 04:10:51 EST References: <6528@brl-tgr.UUCP> Lines: 14 Nf-ID: #R:brl-tgr:-652800:ccvaxa:47500004:000:333 Nf-From: ccvaxa!willcox Dec 14 08:50:00 1984 > Anyone else have any favorite additions to printf? %r for "remote" format. Lets you write your own routine to take printf-like parameters. For example: routine (parm, args) { printf ("The param is %d, caller printed %r", parm, &args); } would be called as, for example: routine (x, "My printf prints %d and %d\n", 10, 20);