There seem to be many different ways to search in C:
fseek()fsetpos()fseeko()lseek()
And many seem to have versions *64():
To complicate matters, many of them appear to require macro definitions (such as _LARGEFILE64_SOURCEor _GNU_SOURCE) or to use 64-bit versions.
What is the easiest way to guarantee 64-bit I / O using ANSI C on Windows, Linux, Mac, BSD, Solaris, etc., and since when is it supported by every OS?
source
share