[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Defining more PRIxxx macros
On Jan 18, 2009, at 10:19 AM, Valeriy E. Ushakov wrote:
Martin Husemann <martin%duskware.de@localhost> wrote:
On Sat, Jan 17, 2009 at 10:53:08AM +0200, Alan Barrett wrote:
off_t -> PRIdOFF, PRIiOFF, PRIoOFF, PRIuOFF, ...
[s]size_t -> PRIdSIZE, PRIiSIZE, PRIoSIZE, PRIuSIZE, ...
Why size_t? C99 has defined formats modifiers for size_t (z) and
ptrdiff_t (t). So using %zu to print a size_t is more portable than
That's probably tangential, but microsoft still does not support 'z'
(at least not in VC 2005, dunno about VC 2008).
Not in 2008 either. Microsoft claims "no one wants it" when asked.
Main Index |
Thread Index |