This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: 64 bit I/O functions (such as stat/ftruncate)
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: "John Gateley" <gateley at jriver dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Thu, 6 Dec 2007 12:29:06 -0800
- Subject: RE: 64 bit I/O functions (such as stat/ftruncate)
- References: <20071206135116.4142b02d.gateley@jriver.com>
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