Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2001 22:05:12 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        seebs@plethora.net (Peter Seebach)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Setting memory allocators for library functions. 
Message-ID:  <9631.983048712@critter>
In-Reply-To: Your message of "Sat, 24 Feb 2001 14:56:54 CST." <200102242056.f1OKus618979@guild.plethora.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102242056.f1OKus618979@guild.plethora.net>, Peter Seebach writes
:
>In message <9469.983047707@critter>, Poul-Henning Kamp writes:
>>The guarantee is "If malloc returns NULL there is no memory you can use".
>
>No, it's "if the memory is not available, malloc returns NULL".

No it is not and it never was.

See RFC748 for why you cannot possibly be right.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9631.983048712>