Path: utzoo!utgpu!water!watmath!clyde!rutgers!gatech!bloom-beacon!athena.mit.edu!eichin From: eichin@athena.mit.edu (Mark W. Eichin) Newsgroups: comp.lang.c Subject: Re: exit(-1) Summary: Keywords: exit, zero Message-ID: <2306@bloom-beacon.MIT.EDU> Date: 16 Jan 88 11:51:22 GMT References: <502@cresswell.quintus.UUCP> <6935@brl-smoke.ARPA> <1179@wjvax.UUCP> <6983@brl-smoke.ARPA> <7208@ki4pv.uucp> <23160@cca.CCA.COM> <1843@bsu-cs.UUCP> <7097@brl-smoke.ARPA> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: eichin@athena.mit.edu (Mark W. Eichin) Organization: Mutilations, Inquisitions, Tortures Lines: 11 Under 4.3BSD, there is a which does include a bunch of standard return values like EX_USAGE, EX_NOPERM, and others, for use as arguments to exit(); it is not complete, in fact it isn't terribly large. In any case, there is one return value EX_OK commented as /* successful termination */ with the value of 0... it is NOT documented in the comments at the top. It doesn't seem that many people use these, are they a really recent development? If it were in common use, the problem under discussion wouldn't be so severe... Mark Eichin SIPB Member & Project Athena ``Watchmaker''