Path: utzoo!mnetor!uunet!husc6!cmcl2!nrl-cmf!ames!elroy!cit-vax!genghis!sns From: sns@genghis.UUCP (Sam Southard) Newsgroups: comp.lang.c Subject: Re: exit(-1), 0 is sometimes magic Message-ID: <353@genghis.UUCP> Date: 22 Jan 88 17:58:16 GMT References: <502@cresswell.quintus.UUCP> <6935@brl-smoke.ARPA> <1179@wjvax.UUCP> <1234@nmtsun.nmt.edu> Organization: California Institute of Technology, Pasadena Lines: 10 Keywords: exit, zero, flaming In article <1234@nmtsun.nmt.edu>, hydrovax@nmtsun.nmt.edu (M. Warner Losh) writes: > you could have the dcl shell (or more correctly (from a VMS point of view :-), > command interpreter [sic on spelling]) that treats an exit status of > on ODD number as success, and an EVEN (for error, I quess) number as Yet another reason not to use VMS - on VMS success is odd. -- Sam Southard, Jr. {sns@genghis.caltech.edu|sns@genghis.uucp|{backbone}!cit-vax!genghis!sns}