Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!rti-sel!dg_rtp!goudreau From: goudreau@dg_rtp.UUCP (Bob Goudreau) Newsgroups: news.software.b,comp.lang.c Subject: Re: News for Xenix on PC AT ? Message-ID: <1773@dg_rtp.UUCP> Date: Mon, 27-Apr-87 11:35:40 EDT Article-I.D.: dg_rtp.1773 Posted: Mon Apr 27 11:35:40 1987 Date-Received: Tue, 28-Apr-87 01:43:35 EDT References: <18346@ucbvax.BERKELEY.EDU> <145@sds.UUCP> <17005@sun.uucp> <146@sds.UUCP> <17245@sun.uucp> <889@viper.UUCP> Reply-To: goudreau@dg_rtp.UUCP (Bob Goudreau) Organization: Data General, RTP North Carolina Lines: 26 Xref: mnetor news.software.b:553 comp.lang.c:1913 In article <889@viper.UUCP> john@viper.UUCP (John Stanley) writes: >In article <17245@sun.uucp> guy%gorodish@Sun.COM (Guy Harris) writes: > > > > The C language lacks a token like Pascal's "nil", so a > >constant expression with the value 0 must do double duty as a > >representation of a null pointer. > > Wrong... Ever hear of something called "NULL"? > >K&R, Page 97: > "We write NULL instead of zero, however, to indicate clearly that >this is a special value for a pointer."... Sorry, but Guy is correct. NULL isn't a feature of C anymore than EOF, stdin or stdout are; these are just literals defined in stdio.h. The preprocessor converts these references to the appropriate constants, so the compiler sees only the "bare bones" C. -- Bob Goudreau Data General Corp. 62 Alexander Drive Research Triangle Park, NC 27709 (919) 248-6231 ...!mcnc!rti-sel!dg_rtp!goudreau