Re: Files larger than 2.9 gigs
Re: Files larger than 2.9 gigs
- Subject: Re: Files larger than 2.9 gigs
- From: John Stiles <email@hidden>
- Date: Wed, 21 Dec 2005 11:19:27 -0800
man pwrite
On Dec 21, 2005, at 11:08 AM, <email@hidden>
<email@hidden> wrote:
pwrite? Not familiar with that one. I thought I'd be using fwrite.
Mark.
On 12/21/2005, "John Stiles" <email@hidden> wrote:
[myData bytes] and pwrite will do what you're asking, but you can't
allocate more than ~2GB in your application's memory space (maybe
2.9GB, I haven't tested it). Even if you have more memory than that,
there is a 32-bit limit for each process.
On Dec 21, 2005, at 10:52 AM, <email@hidden>
<email@hidden> wrote:
I am trying to deal with files larger than 2.9 gigs but the cocoa
writeToFile:atomically: and NSFileHandle methods simply will not
write
beyond the 2.9 gig limit. How do I deal with these large files?
Should I
be using the C primatives? and if so how do I get the NSData in to a
char array so I can write it?
Thanks for any help
Mark.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
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