• 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: writing huge C-array to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing huge C-array to a file


  • Subject: Re: writing huge C-array to a file
  • From: Dado Colussi <email@hidden>
  • Date: Fri, 21 Jul 2006 17:27:55 +0200

You could use NSFileHandle to *open* your file. It has a method fileDescriptor that returns a normal UNIX/POSIX file descriptor. See also fdopen() if you're interested in using stdio. Then use your preferred algorithm to actually *write* the matrix out.

Dado


On 21 Jul 2006, at 17:04, PGM wrote:

This works, but I am afraid that it will break when the fileName contains non-ASCII characters. Is there another fast way to write a large C-array to a file that does work with non-ASCII filenames?


_______________________________________________
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: 
 >writing huge C-array to a file (From: PGM <email@hidden>)

  • Prev by Date: Re: Environment/permissions on NSTask-launched app
  • Next by Date: NSSearchField: sendsSearchStringImmediately is not PPC & i386 compatible?
  • Previous by thread: writing huge C-array to a file
  • Next by thread: Re: writing huge C-array to a file
  • Index(es):
    • Date
    • Thread