realloc

Andrew Hume andrew at alice.UUCP
Fri Mar 31 15:31:06 AEST 1989



gregg townsend reminds us of the pANS ``feature'' that malloc(0) returns NULL.
can anyone provide the (or any) justification of this pointless stupid
definition? i just love the idea that an initialised pointer is SOMETIMES
indistinguishable from an uninitialised pointer.



More information about the Comp.std.c mailing list