On Mon, Sep 30, 2002 at 06:36:39PM -0700, Nate Lawson wrote: > What's the portable way of printing an off_t? It should work on Linux and > FreeBSD. Linux seems to recommend casting the off_t to intmax_t which > isn't present in FreeBSD. This is in usermode.
In current, intmax_t is defined in stdint.h. In stable, I think you're SOL and have to cast to quad_t which is totally non-portable. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
msg37159/pgp00000.pgp
Description: PGP signature