I have a huge binary file which is 2148181087 bytes (> 2gb)
I am trying to do fopen (file, "r")
and it failed with
Can not open: xyz file (Value too large to be stored in data type)
I read on the man page EOVERFLOW error is received when the file size > 2gb.
The weird thing is, I use a different input file which is also "almost" as big as the first file 2142884400 bytes (also >2gb), fopen
works fine with this.
Is there any cutoff on the file size for fopen
or is there any alternate way to solve this?