Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/usr.bin/fstat



Martin Husemann <martin%duskware.de@localhost> writes:

> On Mon, Jan 20, 2003 at 06:16:15PM +1100, Simon Burge wrote:
> 
> > The "z" modifier handles size_t (eg, "%zd").  off_t can use PRId64
> > from <inttypes.h> but it's a little ugly.
> 
> I was more thinking of defining our own PRIoff_t to make it independend
> of the 64bit assumption, but thats a portability drawback and probably not
> worth it.

The right way to address this (in a portable manner) would be using
PRIdMAX and casting to intmax_t, actually.


- Klaus



Home | Main Index | Thread Index | Old Index