Loading 10Gb .raw file in C -
i tried load 10gb .raw file using fopen() function in c. compiler gcc , cant load file, fopen() function returns null. can me solve problem. tried lot, didn't solution.
large file support -d_file_offset_bits=64
puts in situation fseek
, ftell
aren't good, because can have file offsets don't fit in long
.
you have change long
s off_t
s, fseek
s fseeko
s, , ftell
s ftello
s. less portable interfaces (posix, not stdc) unavoidable.
large file support, ilp32 abi, or iso c seeking functions: have throw 1 away have other 2.
Comments
Post a Comment