Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!van-bc!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!yale.edu!cmcl2!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: Must main return a value? Message-ID: <16577@smoke.brl.mil> Date: 28 Jun 91 19:40:16 GMT References: <7830001@hpwrce.HP.COM> <1991Jun28.043342.27540@ptcburp.ptcbu.oz.au> <787@taumet.com> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 7 In article <787@taumet.com> steve@taumet.com (Stephen Clamage) writes: >Except that EXIT_SUCCESS need not have the value 0. This might be >wrong in an ANSI environment. No -- while it is true that EXIT_SUCCESS might be defined as a nonzero value, a conforming hosted implementation must also support the exit status value 0 as a "separate but equal" way to specify successful termination status.