Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!rochester!rit!ultb!ritcsh!sabin!bjm From: bjm@sabin.UUCP (Brendan J. McMahon) Newsgroups: comp.lang.c Subject: Re: pointers, tests, casts Message-ID: <199@sabin.UUCP> Date: 29 Nov 88 18:18:15 GMT References: <11130@dartvax.Dartmouth.EDU> <8961@smoke.BRL.MIL> <4860@bsu-cs.UUCP> Reply-To: bjm@.UUCP (PUT YOUR NAME HERE) Organization: Sabin Metal Corp. Lines: 16 In article <4860@bsu-cs.UUCP> dhesi@bsu-cs.UUCP (Rahul Dhesi) writes: >Sadly, the only UNIX programming textbook I've seen on the market, by >Rochkind, consistently uses 0 and NULL as actual parameters without any >cast. This may be because Rochkind did all his programming using Venix Well, I have learned a great deal from that book. But when verifying your claim, I noticed the use of gets() in his getargs function for his shell! Thank God for USENET gurus to set me straight (or at least getting me so confused that I am forced to verify everything that I read anywhere.) -- Brendan J. McMahon Sabin Metal Corp. | Refiners of Precious Metals | Hardware Trouble? Scottsville, NY | ****** Au Ag Pt Pd Rh ****** | Give us a call, we'll 716-538-2194 |lazlo!sabin!bjm || ritcsh!sabin!bjm| melt your trouble away