N
Nagrik
Hello Group,
I have to support 200 Gigabyte support to open a file in my program.
My program exits with
open("/mnt/d1/tmp/<file name>", O_RDONLY) = -1 EFBIG (File too large)
This open system call is a result of fopen C++ library call, and there
is no way I can provide
O_LARGEFILE mode in fopen call.
Also the return valud of fopen is a file handle, where open system
call returns the file descriptor and hence I can not substitute one vs
other.
Is there a way I can get around this problem.
Thanks.
nagrik
I have to support 200 Gigabyte support to open a file in my program.
My program exits with
open("/mnt/d1/tmp/<file name>", O_RDONLY) = -1 EFBIG (File too large)
This open system call is a result of fopen C++ library call, and there
is no way I can provide
O_LARGEFILE mode in fopen call.
Also the return valud of fopen is a file handle, where open system
call returns the file descriptor and hence I can not substitute one vs
other.
Is there a way I can get around this problem.
Thanks.
nagrik