• 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: errno in debug vs. release
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: errno in debug vs. release


  • Subject: Re: errno in debug vs. release
  • From: Chris Ridd <email@hidden>
  • Date: Wed, 08 Feb 2006 07:05:01 +0000
  • Thread-topic: errno in debug vs. release

On 8/2/06 3:52, Justin C. Walker <email@hidden> wrote:

> On Feb 7, 2006, at 19:13 , E. Wing wrote:
>> Maybe I missed part of the thread that states which man page the
>> snipet comes from, but my man page does mention errno (Tiger
>> 10.4.4/Xcode 2.2.1).
>>
>>      If successful, the malloc(), calloc(), and valloc() functions
>> return a
>>      pointer to allocated memory.  If there is an error, they
>> return a NULL
>>      pointer and set errno to ENOMEM.
>
> I haven't updated to 2.2.1 yet; my (2.2 install) man page does not
> say this.

Mine (from Xcode 2.2.1) actually has two paragraphs about this - the first
one in DESCRIPTION just says it "returns a NULL pointer if there is an
error" and the second one in RETURN VALUES says "it returns a NULL pointer
and sets errno to ENOMEM" if there's an error.

You have to read the whole thing :-)

Cheers,

Chris


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: errno in debug vs. release (From: "Justin C. Walker" <email@hidden>)

  • Prev by Date: Re: errno in debug vs. release
  • Next by Date: Re: Strip -- and hack/crack security
  • Previous by thread: Re: errno in debug vs. release
  • Next by thread: Symbol LEHB0 already defined error with GCC 3.3...
  • Index(es):
    • Date
    • Thread