Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
printf Prefixes
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The F and N prefixes override the default addressing conventions
of the memory model being used. They should be used only with
pointers. These prefixes are not part of the ANSI definition.
Prefix Specifies
F far (32-bit address) pointer
N near (16-bit address) pointer
The h, l, and L prefixes specify the size of the argument:
Prefix Used With Specifies
h d, i, o, x, X short int
u short unsigned
l d, i, o, x, X long int
u long unsigned
e, E, f, g, G double
L e, E, f, g, G long double
-♦-