Re: Working with large files, efficiently/fast?
Re: Working with large files, efficiently/fast?
- Subject: Re: Working with large files, efficiently/fast?
- From: "R.Claeson" <email@hidden>
- Date: Fri, 29 Apr 2005 08:38:12 +0200
On 29 Apr 2005, at 04:30, Juan Pablo Pertierra wrote:
My cocoa program has to deal with files larger than 2GB, as well as
write them as fast as possible to disk using data acquired through an
I/O port. In the past people have suggested that write()/fwrite()
works fine for this, so this is what i've been using. However,
whenever I try to work with files larger than 2GB, the standard
functions such as ftell() only use long data types which are not wide
enough to handle the size/file offsets.
lseek() is what you want to use.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden