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 [|] [EMAIL PROTECTED] [|] http://www.jaguNET.com/ "Hell is hot, that's never been disputed by anybody."
