• 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: Working with large files, efficiently/fast?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Working with large files, efficiently/fast? (From: Juan Pablo Pertierra <email@hidden>)

  • Prev by Date: Re: Breaking into debugger after program hangs....
  • Next by Date: Re: NSBezierPath intersection
  • Previous by thread: Working with large files, efficiently/fast?
  • Next by thread: Bindings and NSPopupButtonCell pulldown
  • Index(es):
    • Date
    • Thread