Is O_LARGEFILE needed just to write a large file?

Posted by Daniel Trebbien on Stack Overflow See other posts from Stack Overflow or by Daniel Trebbien
Published on 2010-05-22T14:23:11Z Indexed on 2010/05/22 14:30 UTC
Read the original article Hit count: 185

Filed under:
|
|
|
|

Is the O_LARGEFILE flag needed if all that I want to do is write a large file (O_WRONLY) or append to a large file (O_APPEND | O_WRONLY)?

From a thread that I read titled "Cannot write >2gb index file" on the CLucene-dev mailing list, it appears that O_LARGEFILE might be needed to write large files, but participants in that discussion are using O_RDWR, not O_WRONLY, so I am not sure.

© Stack Overflow or respective owner

Related posts about c

    Related posts about open