Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2000 20:30:05 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Alexander Langer <alex@big.endian.de>, Sheldon Hearn <sheldonh@uunet.co.za>, Assar Westerlund <assar@sics.se>, Brian Fundakowski Feldman <green@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: kernel printf %i?
Message-ID:  <Pine.BSF.4.21.0007182022070.1249-100000@besplex.bde.org>
In-Reply-To: <20000717024029.A24382@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Jul 2000, Alfred Perlstein wrote:

> * Alexander Langer <alex@big.endian.de> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007182022070.1249-100000>