[fpc-pascal] Large file support
Mark Morgan Lloyd
markMLl.fpc-pascal at telemetry.co.uk
Fri Jun 2 12:39:53 CEST 2017
On 02/06/17 10:00, Marco van de Voort wrote:
> In our previous episode, Mark Morgan Lloyd said:> Could I have a reality check please: is there no fpLSeek64() for files > larger than 2Gb?
> Afaik, there is no such posix calls. In the past, most linux temporarily hadsome -64 calls while it left the main calls 32-bit to make transitionsmoother, but nowadays it is all 64-bit?
> What does writeln(sizeof(off_t)); print ?
8 apparently, but off_t is documented as a cint32.
https://www.freepascal.org/docs-html/current/rtl/unixtype/off_t.html
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-pascal
mailing list