Seven Original Sins of K&R (Long)
merriman at ccavax.camb.com
merriman at ccavax.camb.com
Fri Sep 28 11:01:46 AEST 1990
In article <1990Sep26.193626.721 at phri.nyu.edu>, roy at phri.nyu.edu (Roy Smith) writes:
> goudreau at dg-rtp.dg.com (Bob Goudreau) writes:
>>> The Second Original Sin was the failure to make "NULL" a keyword.
>
> What about this for a portable way to define NULL:
>
> #define NULL (""[1])
>
> would that work?
> --
> Roy Smith, Public Health Research Institute
> 455 First Avenue, New York, NY 10016
> roy at alanine.phri.nyu.edu -OR- {att,cmcl2,rutgers,hombre}!phri!roy
> "Arcane? Did you say arcane? It wouldn't be Unix if it wasn't arcane!"
NULL is a pointer type! NUL is an ASCII character!
More information about the Comp.lang.c
mailing list