Re: What header has enum for NSPOSIXErrorDomain?
Re: What header has enum for NSPOSIXErrorDomain?
- Subject: Re: What header has enum for NSPOSIXErrorDomain?
- From: Jerry Krinock <email@hidden>
- Date: Wed, 13 May 2009 11:08:09 -0700
On 2009 May 13, at 10:29, Sean McBride wrote:
Are you looking for 'errno.h'?
Not exactly, but I was looking for the following fact which I just
deduced with the help of your clue:
"The codes in NSPOSIXErrorDomain are mapped from the errno global
constant."
In other words, when you receive an NSError in NSPOSIXErrorDomain, it
means that an error was returned by an underlying BSD-layer function,
and the error's code is equal to the errno that was set by that
function.
Thanks, guys!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden