Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>the output for</b> %p<b> conversion in the </b> fprintf<b> function (4.9.6.1).</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The output for %p conversion in the  fprintf function (4.9.6.1).

Two types of pointers are supported:  near pointers (%hp), and far pointers
(%lp).  The output for %p depends on the memory model being used.

In 16-bit mode, the  fprintf function produces hexadecimal values of the
form XXXX for 16-bit near pointers, and XXXX:XXXX (segment and offset
separated by a colon) for 32-bit far pointers.

In 32-bit mode, the  fprintf function produces hexadecimal values of the
form XXXXXXXX for 32-bit near pointers, and XXXX:XXXXXXXX (segment and
offset separated by a colon) for 48-bit far pointers.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson