• 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: What header has enum for NSPOSIXErrorDomain?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >What header has enum for NSPOSIXErrorDomain? (From: Jerry Krinock <email@hidden>)
 >Re: What header has enum for NSPOSIXErrorDomain? (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: [iPhone] Caching images fetched from a URL?
  • Next by Date: Re: Changing name of newly created NSDocument (instead of 'Untitled i')
  • Previous by thread: Re: What header has enum for NSPOSIXErrorDomain?
  • Next by thread: Re: What header has enum for NSPOSIXErrorDomain?
  • Index(es):
    • Date
    • Thread