User Profile
Collapse
-
I forgot to mention, but I am working on a 64-bit apple workstation, and compiling with the gcc comiler flag: -arch x86_64... -
Problems with fwrite
Hi,
I am having problems with fwrite for large arrays, and would appriciate any help.
In a small test program, this doesn't work:
fwrite(temp, 4303355904, 1, OUT)
The resulting array is only 8388608 bytes!
However all other sizes seem to work fine. For example, decreasing the size by just 4 bytes, works fine:
fwrite(temp, 4303355900, 1, OUT)
Thank you.
No activity results to display
Show More
Leave a comment: