Re: fopen() file size limitation
From: Rich Teer (rich.teer_at_rite-group.com)
Date: 11/21/03
- Next message: Shea Martin: "streamlining makefiles with rules"
- Previous message: Michael Wang: "Re: Find exact creation time of a process; not kill a wrong process"
- In reply to: Tommy: "fopen() file size limitation"
- Next in thread: Mohun Biswas: "Re: fopen() file size limitation"
- Reply: Mohun Biswas: "Re: fopen() file size limitation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 Nov 2003 17:48:42 GMT
On Fri, 21 Nov 2003, Tommy wrote:
> Any work-around for opening files larger than 2GB using fopen() in stdio.h?
> fopen() will report "file size too large" when I open any file larger than
> 2^31 - 1 (around 2GB).
Which OS? Whatever, you must build your application so that
it is large file aware; i.e. pass -D_FILE_OFFSET_BITS=64 to
the compiler.
-- Rich Teer, SCNA, SCSA President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-online.net
- Next message: Shea Martin: "streamlining makefiles with rules"
- Previous message: Michael Wang: "Re: Find exact creation time of a process; not kill a wrong process"
- In reply to: Tommy: "fopen() file size limitation"
- Next in thread: Mohun Biswas: "Re: fopen() file size limitation"
- Reply: Mohun Biswas: "Re: fopen() file size limitation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|