I got a binary file of size 3GB in UNIX. I have to read data out of this file.
fopen function failed to open it with following error:
"Value too large for defined data type"
Is there any function iin UNIX can get this done? Thanks.
m*****e 发帖数: 4193
2
man open/fopen. Maybe you should specify O_LARGEFILE in the flag.
【在 a********c 的大作中提到】 : I got a binary file of size 3GB in UNIX. I have to read data out of this file. : fopen function failed to open it with following error: : "Value too large for defined data type" : Is there any function iin UNIX can get this done? Thanks.