• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Files larger than 2.9 gigs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Files larger than 2.9 gigs
      • From: Markus Hitter <email@hidden>
References: 
 >Re: Files larger than 2.9 gigs (From: Andy Armstrong <email@hidden>)

  • Prev by Date: Re: Files larger than 2.9 gigs
  • Next by Date: How to remove accents from characters (i.e. ñ --> n)
  • Previous by thread: Re: Files larger than 2.9 gigs
  • Next by thread: Re: Files larger than 2.9 gigs
  • Index(es):
    • Date
    • Thread