Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!pyrnj!mirror!ima!haddock!karl From: karl@haddock.UUCP (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: "exit 0;" - or - "exit (0);" ? Message-ID: <174@haddock.UUCP> Date: Wed, 19-Nov-86 10:04:37 EST Article-I.D.: haddock.174 Posted: Wed Nov 19 10:04:37 1986 Date-Received: Wed, 19-Nov-86 22:29:40 EST References: <1512@batcomputer.tn.cornell.edu> <6355@alice.UUCP> Reply-To: karl@haddock.UUCP (Karl Heuer) Distribution: net Organization: Interactive Systems, Boston Lines: 8 Summary: Not C, but maybe awk or shell In article <6355@alice.UUCP> ark@alice.UUCP writes: >"exit 0;" is illegal -- exit is a function just like any other. I am sure >you are mistaken when you say you've seen it many times. In fact, I >strongly suspect you are confusing it with "return 0;" which is legal C. Or perhaps with awk or shell scripts, where "exit 0" is legal. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint