Creating pointer with all bits 0 (was: Referencing NULL pointers)
Doug Gwyn
gwyn at smoke.BRL.MIL
Wed Sep 6 20:14:24 AEST 1989
In article <1989Sep6.052228.17374 at algor2.algorists.com> jeffrey at algor2.UUCP (Jeffrey Kegler) writes:
>If I am correct, this could cause problems. It is not hard to imagine
>an implementation where every possible pointer bit pattern is a valid
>physical address. No pattern would remain for the null pointer.
I've already explained how an implementation could provide a null
pointer anyway, by using a datum in the run-time library whose address
would be used for null pointers.
More information about the Comp.lang.c
mailing list