Re: FREAD fails on files >4GB
- From: santosh <santosh.k83@xxxxxxxxx>
- Date: Thu, 31 Jul 2008 14:03:00 +0530
Richie Kernagan wrote:
Howdy
Problem with the fread() call on MS Visual Studio 2005 running under
Win 64.
The parameters to fread size and count are both size_t ie 64 bits.
Even so the call fails when the size arg is greater than 4GB (ie
exceeds 32 bit unsigned value).
Any suggestions.
Thanks in advance.
In many cases additional flags must be defined for an implementation to
support files larger than 4 Gb. Verify that you have done so. Any such
requirement should be documented in the reference documentation for
your implementation.
Also post your actual code that fails (as minimal an example as
possible), along with details of fread's input and output, and the
exact error that you have detected.
.
- Prev by Date: Re: FREAD fails on files >4GB
- Next by Date: Re: stream io in c
- Previous by thread: Re: FREAD fails on files >4GB
- Next by thread: Re: FREAD fails on files >4GB
- Index(es):
Relevant Pages
|