🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #74755

Re: using 0 instead of NULL

#74755
From: Byron Rakitzis
Date: Wed, 06 Mar 1991 21:11
18 lines
1431 bytes
In article <1991Mar6.201722.17499@Solbourne.COM> imp@Solbourne.COM (Warner Losh) writes:
>In article <JYM.91Mar6112521@remarque.berkeley.edu> jym@mica.berkeley.edu (Jym Dyer) writes:
>> __ In a system where NULL isn't zero,
>
>NULL is always 0.  Tests of pointers against 0 are always required to
>succeed if those pointers are NULL.  The actual bits that are used may
>or may not be 0, but NULL is always 0 (perhaps with a cast on it).
>

AAAARGH! This mindless discussion goes on over and over again in
comp.lang.c. Could you please take your NULL gripes there, or at
the very least RTFM!

Byron.

(This is bordering on the Kafkaesque... how many times do we have
to hear about the bit representation of NULL on the Foo architecture,
etc. etc. ad nauseam??)
Technical Details
Message-ID: <13108@helios.TAMU.EDU>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!helios!archone!byron
References: <27D16AC5.3952@maccs.dcss.mcmaster.ca> <JYM.91Mar6112521@remarque.berkeley.edu> <1991Mar6.201722.17499@Solbourne.COM>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,343b7ce3977dbb95
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1991-03-07 04:32:09 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!helios!archone!byron
From: byron@archone.tamu.edu (Byron Rakitzis)
Newsgroups: gnu.misc.discuss
Subject: Re: using 0 instead of NULL
Message-ID: <13108@helios.TAMU.EDU>
Date: 6 Mar 91 21:11:46 GMT
References: <27D16AC5.3952@maccs.dcss.mcmaster.ca> <JYM.91Mar6112521@remarque.berkeley.edu> <1991Mar6.201722.17499@Solbourne.COM>
Sender: usenet@helios.TAMU.EDU
Organization: College of Architecture, Texas A&M University.
Lines: 18