%Fp printf format specifier

Andreas Mohr andi at rhlx01.fht-esslingen.de
Thu Mar 3 02:33:56 CST 2005


On Wed, Mar 02, 2005 at 06:23:40PM +0100, Krzysztof Foltman wrote:
> Dnia 02-03-2005, ??ro o godzinie 17:34 +0100, Uwe Bonnes napisa??(a):
> > uses a "%Fp" format spezifier. Running with native msvcrt, this seems to be
> > the same as "%p". However builtin msvcrt stumbles about the "superfluous" 'F".
> %p = pointer
> %Fp = far pointer? (as in segment:offset pointer in 16-bit Windows)
Oh, right, so there most likely IS a difference between %p and %Fp, since
%p will get shown as 0x12345678, whereas %Fp probably gets rendered as
something like 0x1234:0x5678.

To sum it up:
a) we DO need to handle the F modifier
b) it is probably used to format a FAR pointer (0x1234:0x5678)
c) it should NOT be confused in any way with the lower-case-only float type

Andreas Mohr

More information about the wine-devel mailing list