Path: utzoo!utgpu!water!watmath!clyde!bellcore!decvax!decwrl!sun!pitstop!sundc!seismo!uunet!nuchat!splut!jay From: jay@splut.UUCP (Jay Maynard) Newsgroups: comp.lang.c Subject: Re: exit(-1) Summary: repeat after me. Keywords: exit, zero Message-ID: <334@splut.UUCP> Date: 16 Jan 88 14:49:32 GMT References: <6935@brl-smoke.ARPA> <7208@ki4pv.uucp> Organization: Confederate Microsystems, League City, TX Lines: 24 In article <7208@ki4pv.uucp>, tanner@ki4pv.uucp (Dr. T. Andrews) writes: > In article <6983@brl-smoke.ARPA>, gwyn@brl-smoke.ARPA (Doug Gwyn ) writes: > ) [ elaborates on VMS and EXIT_SUCCESS, EXIT_FAILURE reasoning ] > ) Actually, I agree with this, but since we found a solution that the > ) VMS folk could live with, why not stick with it. > > Unfortunately, those few unlucky enough to not be using VMS have been > spending their lives coding progs which finish with exit(0) when they > worked. How about a slap in the face with a wet towel to them? for(i = 0; i < 100; i++) { repeat_after_me('All the world does not run on Unix, either.'); } I think it's only fair that those of us who complain about 'all the world is a VAX' should complain about 'all the world is Unix' as well... This is probably the best, portable solution. -- Jay Maynard, K5ZC (@WB5BBW)...>splut!< | GEnie: JAYMAYNARD CI$: 71036,1603 uucp: {uunet!nuchat,academ!uhnix1,{ihnp4,bellcore,killer}!tness1}!splut!jay Never ascribe to malice that which can adequately be explained by stupidity. The opinions herein are shared by none of my cats, much less anyone else.