Jeremy Hylton wrote: > can't find any succient explanation of O_LARGEFILE, but Google turns > up all sorts of pages that mention it. It looks like the right way > to open large files, but it only seems to be defined in <asm/fcntl.h> > on the Linux box in question. Perhaps it is set by libc if the application is compiled with large file support. Neil