Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!dcdwest!ittvax!decvax!wivax!cadmus!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.unix-wizards Subject: Re: modification to /usr/src/lib/libc/vax/stdio/doprnt.s Message-ID: <1674@umcp-cs.UUCP> Date: Thu, 6-Dec-84 22:25:57 EST Article-I.D.: umcp-cs.1674 Posted: Thu Dec 6 22:25:57 1984 Date-Received: Sun, 9-Dec-84 05:40:17 EST References: <1838@burdvax.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 15 Nice, but.... (There's always something to complain about! :-) ) The kernel printf already uses %b for its own purposes (which as it happens might be nice to have in printf itself (but that's another matter)). I don't know what else one might use for binary output -- maybe %@2 for base 2, then you can extend to any base up to 9 with %@3, %@4,.... If you use hex you can get to base 15. Anyone else have any favorite additions to printf? -- (This line accidently left nonblank.) In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (301) 454-7690 UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland