Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site riccb.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!ihopa!riccb!emike From: emike@riccb.UUCP (Mike Durbin ) Newsgroups: net.lang.c Subject: Re: Re: Re: if (p), where p is a pointer (apology) Message-ID: <534@riccb.UUCP> Date: Thu, 19-Sep-85 09:50:03 EDT Article-I.D.: riccb.534 Posted: Thu Sep 19 09:50:03 1985 Date-Received: Fri, 20-Sep-85 05:55:09 EDT References: <118@mit-hector.UUCP> <4300@alice.UUCP> <11610@rochester.UUCP> <532@riccb.UUCP> Organization: Rockwell Telecommunications, Downers Grove,Il. Lines: 19 ----------- I wrote: > NULL *IS* defined as (char *)0 and SHOULD only be used in comparisons > with character pointers! and I was wrong. Thanks for the (kind) replies that pointed out my error. "... comparisons of pointers with a plain 0 are well-defined by the language." -- unixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixuni n x i E. Mike Durbin ...!ihnp4! u x ROCKWELL TELECOMMUNICATIONS ...!ihopa!riccb!emike n u Downers Grove IL ...!cuuxb! i n (312) 960-8658 x i u xunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixunixun