On Thu, 17 Oct 2002, Martin Cracauer wrote: > Well, this is what my quiz questionw as about: who can locate the > correct flags in the crappy glibc documentation within 30 minutes?
Yeah, the glibc documentation does not seem to be as clear as the links I mentioned in my previous message. However glibc appears to support the standard interfaces, so the definitions -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 should be sufficient to replace the default file access interface with 64-bit versions for the foreseeable future. _LARGEFILE64_SOURCE is not needed unless you specifically want to use open64 and other similarly named "transitional interfaces". What confuses me is that the 1996 X/Open document at http://ftp.sas.com/standards/large.file/x_open.20Mar96.html is supposed to be an addition to the Single Unix Specification, and the glibc documentation lists the large file support as a Unix98 feature (and AFAIK Unix98 equals Single Unix Spec v2), but the Single Unix Spec documentation on the Open Group site http://www.unix-systems.org/single_unix_specification/ does not list the large file interfaces at all, as far as I can see. Hannu Rummukainen
