On Sep 4, 2008, at 10:09 AM, Paul Archibald wrote:
I have gotten some suggestions on a problem which require access to standard C calls. In particular, one poster suggested that I use some calls which require a FILE*, when all I have at this point are NSTask, NSPipe, and NSFileHandle objects.
Which calls and what problem are they trying to solve?
Is it possible to get a FILE* from an NSPipe or NSFileHandle? I don't see anything in the documentation that looks like that. (I am not getting much help from Google either.)
It's pretty unlikely that you can map stdio FILE to a NSFileHandle. NSFileHandle does offer the -fileDescriptor method, which is the underlying object that both FILE and NSFileHandle are built on top of. NSPipe has similar methods. Maybe you can use some calls that work at that level?
-- Dave Carrigan [EMAIL PROTECTED] Seattle, WA, USA
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]