Re: Unix FILE* and NSFileHandle
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.