Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!oliveb!pyramid!nessus!ivucsb!dan From: dan@ivucsb.UUCP (Dan Howell) Newsgroups: comp.sys.amiga.tech Subject: Re: Ultimate Wait-GetMsg strategy (?) Message-ID: <562@ivucsb.UUCP> Date: 5 Mar 89 02:01:58 GMT References: <8902100658.AA16049@postgres.Berkeley.EDU> <6777@polya.Stanford.EDU> <6402@dayton.UUCP> <331@wn2.sci.kun.nl> Reply-To: ivucsb!dan@anise.acc.com (Dan Howell) Organization: The Audio Club at UCSB, Isla Vista, California Lines: 17 In article <331@wn2.sci.kun.nl> janhen@wn2.sci.kun.nl (Jan Hendrikx) writes: |(!expr) means the same as (expr != 0), which is THE test to test for a |NULL pointer. Even if NULL pointers are internally not represented by |all-bits-zero, the compiler must recognize a comparison between a |pointer and the constant 0, and emit approprate code in case that that |compiler's internal representation of a NULL pointer is not the same |as 0. See relatively recent articles on comp.lang.c. You mean to tell me that comp.lang.c is STILL arguing about this? I was on this group in 1985 and they were arguing about it. I haven't got comp.lang.c since September because my current feed doesn't get it. Some things never change... -- Dan Howell -- <...!(pyramid|ucbvax)!ucsbcsl!nessus!ivucsb!dan> -- * I think this is it! My address should be relatively permanent now. *