Re: to read larger files using POSIX functions
Re: to read larger files using POSIX functions
- Subject: Re: to read larger files using POSIX functions
- From: Navneet Kumar <email@hidden>
- Date: Fri, 11 Jan 2008 01:34:16 +0530
i'm using open() and pread() programatically.
On 11-Jan-08, at 1:32 AM, Navneet Kumar wrote:
but when i read my file beyond 2 GB it shows different data every
time, suggesting that it failed. because the data inside the file
remains the same.
Regards
Navneet
On 11-Jan-08, at 1:22 AM, Dave Zarzycki wrote:
There is nothing special required to read/write large files on Mac
OS X.
davez
On Jan 10, 2008, at 11:38 AM, Navneet Kumar wrote:
Hi,
I'm using open() and pread() to read a file.
But to open large files when I use open() with O_LARGEFILE, i get
the error that O_LARGEFILE is undefined.
I have included <fcntl.h>.
Also is there any thing else i need to do to correctly use pread()
for reading large files.
Wishes,
Navneet
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden