Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!unmvax!pprg.unm.edu!topgun.dspo.gov!lanl!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Abandon NULL for (0) Message-ID: <11228@smoke.BRL.MIL> Date: 6 Oct 89 18:52:46 GMT References: <15571@nswitgould.cs.uts.oz> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <15571@nswitgould.cs.uts.oz> karl_auer_%7801.801@fidogate.fido.oz (1) writes: >or allows conditional #defines depending on memory model #define NULL 0 is correct for all memory models and for all C implementations. Sometimes other definitions are also correct, but the above is universal.