Article View: comp.sys.amiga.tech
Article #13736Re: Manx 5.0 bug -- response from Manx
From: Peter da Silva
Date: Fri, 16 Feb 1990 04:16
Date: Fri, 16 Feb 1990 04:16
16 lines
1195 bytes
1195 bytes
In article <4228@jhunix.HCF.JHU.EDU> barrett@jhunix.HCF.JHU.EDU (Dan Barrett) writes:
> >From: Mike Spille/Manx <71545.1466@CompuServe.COM>
> >We do not plan to change this behavior, as with the current library
> >[...] because it's not possible to tell whether or not any value was
> >actually returned from main() or not.
> Yecch.
They're right. Main() should return a valid value, either by calling exit()
or by calling return with a value. Falling off the end of main() is not a
valid way to return from a program.
--
_--_|\ Peter da Silva <peter@sugar.hackercorp.com>.
/ \
\_.--._/ I haven't lost my mind, it's backed up on tape somewhere!
v "Have you hugged your wolf today?" `-_-'
Technical Details
Message-ID:
<5158@sugar.hackercorp.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!texbell!sugar!peterReferences:
<4228@jhunix.HCF.JHU.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!texbell!sugar!peter From: peter@sugar.hackercorp.com (Peter da Silva) Newsgroups: comp.sys.amiga.tech Subject: Re: Manx 5.0 bug -- response from Manx Message-ID: <5158@sugar.hackercorp.com> Date: 16 Feb 90 04:16:43 GMT References: <4228@jhunix.HCF.JHU.EDU> Reply-To: peter@sugar.hackercorp.com (Peter da Silva) Organization: Sugar Land Unix - Houston Lines: 16