• 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: Unix FILE* and NSFileHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unix FILE* and NSFileHandle


  • Subject: Re: Unix FILE* and NSFileHandle
  • From: Jonathan Wight <email@hidden>
  • Date: Fri, 29 Mar 2002 14:05:47 -0600

On 03/29/2002 13:22, "Jason Moore" <email@hidden> wrote:

> Greetings fellow Cocoa nuts.. :)
>
> Does anyone out there know if Cocoa is capable of converting between
> standard unix FILE* structures and NSFileHandle? Anyone know how to do
> that if cocoa can't?
>
> Reason i ask is i've got a library i want to use that accepts FILE
> structures but i'd like to use Cocoa's NSFileHandle much easier to use
> interface to open and save the file and simply convert my NSFileHandle
> to a FILE just before passing it to the library.

IIRC there's a slew of unix functions for converting between FILE * and file
descriptors. I'd start with "man fdopen" if I were you...

Jon.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Unix FILE* and NSFileHandle (From: Jason Moore <email@hidden>)

  • Prev by Date: Re: Was Using OpenSSL and RSA - Blowfish in ObjC and Cocoa
  • Next by Date: 24 or 12 hour clock, NSUserDefault BUG
  • Previous by thread: Unix FILE* and NSFileHandle
  • Next by thread: Re: Unix FILE* and NSFileHandle
  • Index(es):
    • Date
    • Thread