Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watdaisy.UUCP Path: utzoo!watmath!watdaisy!ndiamond From: ndiamond@watdaisy.UUCP (Norman Diamond) Newsgroups: net.lang.c Subject: Re: Null pointers Message-ID: <6956@watdaisy.UUCP> Date: Mon, 11-Feb-85 22:57:37 EST Article-I.D.: watdaisy.6956 Posted: Mon Feb 11 22:57:37 1985 Date-Received: Tue, 12-Feb-85 06:21:37 EST References: <8223@brl-tgr.ARPA> Organization: U of Waterloo, Ontario Lines: 24 > Correct?? > if (pointer) > and > pointer = 0; > ARE guaranteed by the language spec to work. > function(0) > .... > int function(x) > int *x; > is NOT. I'm sorry to add the n'th repetition of this to the net, but if this will get it over with and cut useless traffic by 50%, here goes. YES! THAT IS CORRECT! -- Norman Diamond UUCP: {decvax|utzoo|ihnp4|allegra|clyde}!watmath!watdaisy!ndiamond CSNET: ndiamond%watdaisy@waterloo.csnet ARPA: ndiamond%watdaisy%waterloo.csnet@csnet-relay.arpa "Opinions are those of the keyboard, and do not reflect on me or higher-ups."