64 bit I/O functions (such as stat/ftruncate)

John (Eljay) Love-Jensen eljay@adobe.com
Thu Dec 6 20:29:00 GMT 2007


Hi John,

Those questions are Linux related, not GCC related.

I'm sure GCC will support the Linux 64-bit I/O API routines without a hitch.  But whether or not your particular Linux supports 64-bit I/O API routines and what those APIs are... well, that's Linux issue.

Note:  I'd expect the standard routines like lseek to be 64-bit savvy if the OS supports 64-bit file systems, without having special 64-bit one-offs, like lseek64, and things like off_t being typedef'd to a 64-bit integer (probably a signed long long).

--Eljay



More information about the Gcc-help mailing list