From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,144064e39ca0ca6a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-09-17 17:30:30 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!cs.utexas.edu!convex!news.duke.edu!MathWorks.Com!blanket.mitre.org!linus.mitre.org!linus!mbunix!emery From: emery@spectre.mitre.org (David Emery) Newsgroups: comp.lang.ada Subject: Re: Main (function) program with exit(status) Date: 16 Sep 94 21:39:55 Organization: The Mitre Corp., Bedford, MA. Distribution: world Message-ID: References: <35cc7q$9it@rapnet.sanders.lockheed.com> NNTP-Posting-Host: spectre.mitre.org In-reply-to: cupak@rapnet.sanders.lockheed.com's message of 16 Sep 1994 15:05:30 GMT Date: 1994-09-16T21:39:55+00:00 List-Id: [function returing integer as main, return value used as OS process status.] Completely non-portable! Incidentally, one draft of POSIX/Ada supported this, and was 'voted down' during balloting. A conforming implementation may support an Ada main program being a function, but an application which uses this is no long strictly conforming to POSIX/Ada. dave -- --The preceeding opinions do not necessarily reflect the opinions of --The MITRE Corporation or its sponsors. -- "A good plan violently executed -NOW- is better than a perfect plan -- next week" George Patton -- "Any damn fool can write a plan. It's the execution that gets you -- all screwed up" James Hollingsworth -------------------------------------------------------------------------