Path: utzoo!attcan!uunet!aplcen!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!ccavax!merriman From: merriman@ccavax.camb.com Newsgroups: comp.lang.c Subject: Re: Seven Original Sins of K&R (Long) Message-ID: <32887.270268ba@ccavax.camb.com> Date: 28 Sep 90 01:01:46 GMT References: <12780@sdcc6.ucsd.edu> <1990Sep26.163927.26084@dg-rtp.dg.com> <1990Sep26.193626.721@phri.nyu.edu> Organization: Cambridge Computer Associates, Inc. Lines: 16 In article <1990Sep26.193626.721@phri.nyu.edu>, roy@phri.nyu.edu (Roy Smith) writes: > goudreau@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@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!