use of NULL

Wayne A. Throop throopw at xyzzy.UUCP
Sat Feb 25 06:54:14 AEST 1989


> cramer at optilink.UUCP (Clayton Cramer)
> Microsoft C defines NULL in a way that works
> for CORRECT calls in large model, and in medium and compact models.

This is surely an unusual meaning of "correct".  The C language
makes it clear that passing an uncast arithmetic constant as an
actual parameter to a formal parameter of type pointer when no
prototype is in scope is never correct.

--
Each nasty little hornet,
Each beastly little squid,
Who made the slimy urchin?
Who make the shark?  He did!
          --- Monty Python
-- 
Wayne Throop      <the-known-world>!mcnc!rti!xyzzy!throopw



More information about the Comp.lang.c mailing list