Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!nic.MR.NET!shamash!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: use of NULL Keywords: NULL zero 0 C Microsoft Message-ID: <16069@mimsy.UUCP> Date: 22 Feb 89 11:04:03 GMT References: <1167@unisec.usi.com> <5312@turnkey.TCC.COM> <9582@smoke.BRL.MIL> <975@optilink.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 20 >In article <16020@mimsy.UUCP> I wrote: >>... Using 0 wherever NULL is strictly legal will always work. Never >>mind the fact that, by trickery, Microsoft C defines NULL in a way that >>works for INCORRECT calls in large model (but *not* for medium nor >>compact models), as a concession to bad programmers' wrong programs. In article <975@optilink.UUCP> cramer@optilink.UUCP (Clayton Cramer) writes: >This is not correct. Microsoft C defines NULL in a way that works >for CORRECT calls in large model, and in medium and compact models. Let me put it in as few words as possible: If you do it my way, it always works. If you do it your way, it sometimes works. Now, which do you prefer? -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris