apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: Memory Renaming (try 2)
Date Sat, 12 May 2001 17:38:57 GMT
Justin Erenkrantz wrote:
> 
> Doesn't ANSI C define this?  Hmm, I just looked at FreeBSD's kernel malloc 
> code, no.  My understanding is that you guys are going to be adding
> kernel memory allocation support, right?  So you won't necessarily be
> talking to ANSI compliant malloc()s.  Maybe this particular check 
> isn't a bad idea then.  
> 

SVID states that malloc(0) must return NULL. ANSI doesn't... :)
-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

Mime
View raw message