httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: Use of pcalloc()
Date Sat, 19 Jul 1997 01:27:05 GMT
On Fri, 18 Jul 1997, Alexei Kosut wrote:

> But isn't it still a bad practice?

Pretty much every program out there makes this assumption.

FWIW, ANSI defines the constant 0 to be NULL when used in a pointer
context.  It also specifies that uninitialized globals will have all
pointers initialized to NULL and all scalars to 0.  I don't remember
if it goes as far as to require that NULL actually is 0.


View raw message