delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/02/11:07:46

Date: Mon, 2 Aug 1999 10:30:01 -0400
Message-Id: <199908021430.KAA01030@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: eliz AT is DOT elta DOT co DOT il
CC: pavenis AT lanet DOT lv, djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.990801114824.20304X-100000@is> (message from Eli
Zaretskii on Sun, 1 Aug 1999 11:49:06 +0300 (IDT))
Subject: Re: sscanf() format %p seems to be broken
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990801114824 DOT 20304X-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> DJ, is it a good idea to have %p imply the base of 16 in doscan.c?

The only rule is that what printf prints for %p is what scanf should
expect for %p.  It could be in pig-latin as long as it worked.
Borland, for example, prints 0000:0000 in some models.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019