From owner-freebsd-arch Tue Jul 18 3:31: 6 2000 Delivered-To: freebsd-arch@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 5DFC337BD5B; Tue, 18 Jul 2000 03:30:59 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id UAA17525; Tue, 18 Jul 2000 20:30:12 +1000 Date: Tue, 18 Jul 2000 20:30:05 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Alfred Perlstein Cc: Alexander Langer , Sheldon Hearn , Assar Westerlund , Brian Fundakowski Feldman , arch@FreeBSD.ORG Subject: Re: kernel printf %i? In-Reply-To: <20000717024029.A24382@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 17 Jul 2000, Alfred Perlstein wrote: > * Alexander Langer [000717 01:56] wrote: > > Thus spake Alfred Perlstein (bright@wintelcom.net): > > > > > > What ANSI standard covers _kernel_ printf()? > > > POLA POLA POLA POLA POLA POLA POLA POLA POLA POLA POLA POLA POLA > > > > POLA is a good argument. I was VERY surprised about having to use %d. > > I'm a '%d man' but I had just been reading some C books and all the > code was using %i, I was suprised when it didn't work. You've been reading the wrong books :-). The C99 draft (version n869.txt) has 19 lines in examples that use plain %d, and 0 lines in examples that use plain %i. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message