Message-Id: <3.0.16.19980114103550.357f1ffa@hem1.passagen.se> Date: Wed, 14 Jan 1998 14:11:19 -0500 To: Nate Eldredge From: Peter Palotas Subject: Re: printf("%p"); Cc: djgpp AT delorie DOT com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Precedence: bulk Precedence: bulk At 18.01 1998-01-13 -0800, you wrote: >At 05:58 1/13/1998 -0500, Peter Palotas wrote: >> -- [ Why isn't %p printed with a '0x' prefix ] -- > `p' > A pointer. This is printed with an `x' specifier. > >I interpret that to mean that "%p" works just like "%x", which it does. > >In any case, the way a pointer is printed is considered >"implementation-dependent". It is not necessary that DJGPP print pointers >the same way as any other system. Of course, if you have a compelling reason >you think it should, let's hear it. Well, Linux does it that way for one, and DJGPP should be as compatible as possible with Linux, don't you think? -- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se -- ***************************************************** * A brief description of DJGPP: * * NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! * *****************************************************