Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!decwrl!sun!guy From: guy@sun.UUCP Newsgroups: net.lang.c Subject: Re: What ever happened to %r in printf ? Message-ID: <4274@sun.uucp> Date: Thu, 19-Jun-86 14:49:39 EDT Article-I.D.: sun.4274 Posted: Thu Jun 19 14:49:39 1986 Date-Received: Sat, 21-Jun-86 13:48:18 EDT References: <126@danews.UUCP> <6762@utzoo.UUCP> <117@lri.UUCP> Organization: Sun Microsystems, Inc. Lines: 17 > I think that %r in printf was used to format a string in radix50. Nope. No version of UNIX released by AT&T has any support for RADIX50 whatsoever. The "r" stood for "remote", not "RADIX50"; "%r" told "printf" that the next argument was a pointer to a "printf"-style argument list, and that it should use that list instead of the one it was passed. This is very tricky to do portably, and impossible to do on some implementations, so it was nuked in V7. > This format was maybe used on V6 UNIX to talk to RT11 file system, Nope. No version of UNIX released by AT&T knows anything about RT11, except for VAX versions which have to deal with VAX-11/780 console floppies. -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com (or guy@sun.arpa)