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 (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 arch...@mail-archive.com