What C compilers have non-zero null pointers?
amoore at softg.uucp
amoore at softg.uucp
Thu Jul 12 21:37:44 AEST 1990
In article <1990Jul10.141208.24902 at uunet!unhd>, pas at uunet!unhd (Paul A. Sand) writes:
> "Certain Prime computers use a value different from all-bits-0 to
> encode the null pointer.
The Prime 50 series (segmented) architecture has a segment 0. A null
pointer on a Prime is segment 7777 location 0 (usually written 7777/0).
The C compiler (written by Garth Conboy of Pacer Software) deals with
comparisons to 0.
More information about the Comp.lang.c
mailing list