Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.lang.c Subject: Re: Dereferencing NULL Message-ID: <2444@brl-smoke.ARPA> Date: Mon, 7-Apr-86 14:21:31 EST Article-I.D.: brl-smok.2444 Posted: Mon Apr 7 14:21:31 1986 Date-Received: Thu, 10-Apr-86 00:29:36 EST Sender: news@brl-smoke.ARPA Lines: 22 Sometimes I think that every C language course should include a section on "The Use and Abuse of Null Pointers"... unfortunately, I have yet to see this mentioned in any such course's syllabus. Hey, even *I* don't dereference NULL pointers! However I do think that software should be tolerant when passed such items. I seem to remember that `printf' would say `' or something to that effect when invoked as `printf("%s",0)' (Guy would say `printf("%s",(char *) 0)'). > Karl W. Z. Heuer (ihnp4!bentley!kwh), The Walking Lint Given the quality of too many C programs (and programmers), that title sounds like a thankless task at best.... -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.arpa (yes, really) Perhaps we should call you `The Talking Lint' :-) (Root Boy) Jim Cottrell