• 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 16:17:12 -0500
  • Bounce-to: <email@hidden>


So basically I was on the right track. That makes me feel a little less
thick.
I'd just prefer to actually write the code for this instead of writing a
gui. besides if some one could point out the mistake in the code I've
posted to the list I might be able to get this working.
mark

On 12/21/2005, "Markus Hitter" <email@hidden> wrote:

>
>Am 21.12.2005 um 20:35 schrieb <email@hidden>
><email@hidden>:
>
>> 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?
>
>No idea why the group here uniquely recommends the uncommon pwrite()
>while there's write() and fwrite() as well. Any basic C textbook
>should show you a valid fopen(); fread()/fwrite(); fclose() sequence,
>but a already recommended shell command system("cat f1 f2 f3 > fx");
>is very likely faster and runs in a separate thread/task already.
>
>For the progress bar, you can check the size of the resulting file
>periodically. Not too often or performance will suffer.
>
>If you want to learn about high performance file I/O, look up the
>"cat" command's source in one of the various open source Unices
>(OpenDarwin is down right now).
>
>
>Markus
>
>- - - - - - - - - - - - - - - - - - -
>Dipl. Ing. Markus Hitter
>http://www.jump-ing.de
_______________________________________________
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

References: 
 >Re: Files larger than 2.9 gigs (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: Files larger than 2.9 gigs
  • Next by Date: Re: Files larger than 2.9 gigs
  • Previous by thread: Re: Files larger than 2.9 gigs
  • Next by thread: Re: Files larger than 2.9 gigs
  • Index(es):
    • Date
    • Thread