Re: Files larger than 2.9 gigs
Re: Files larger than 2.9 gigs
- Subject: Re: Files larger than 2.9 gigs
- From: <email@hidden>
- Date: Wed, 21 Dec 2005 14:35:52 -0500
- Bounce-to: <email@hidden>
Andy,
I do not want to read the whole thing in to memory. And since
learning more about the memory limits placed on program, I want to even
less. But I thought with fopen using "a" would only open it for
appending and not read the whole thing in to memory.
I'm not real good with files in plain C so the information I've
found on pwrite is not very helpful. does any one have a link to some
example code using pwrite?
Thanks
Mark.
On 12/21/2005, "Andy Armstrong" <email@hidden> wrote:
>
On 21 Dec 2005, at 19:23, <email@hidden>
>
<email@hidden> wrote:
>
>
>
>
> Well all I need to do is read files in parts from one place and write
>
> them in to a single file on disk. basically taking file1 file2
>
> file3 etc
>
> and putting them all into a single file.
>
> I tried this but it does not work:
>
>
So you're literally just doing cat f1 f2 f3 > fx?
>
>
Why do you want to load the whole file into memory?
>
>
--
>
Andy Armstrong, hexten.ne
_______________________________________________
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