🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3247

Re: Must main return a value?

#3247
From: Doug Gwyn
Date: Fri, 28 Jun 1991 19:40
7 lines
981 bytes
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.
Technical Details
Message-ID: <16577@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!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
References: <7830001@hpwrce.HP.COM> <1991Jun28.043342.27540@ptcburp.ptcbu.oz.au> <787@taumet.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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