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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cf907209f066462e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-16 06:20:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-ham1.dfn.de!news.uni-hamburg.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: How to port exit(s) from C to Ada Date: Wed, 16 Oct 2002 13:20:01 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3DA69C5B.A3B8F264@lml.ls.fi.upm.es> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1034774401 27340 134.91.1.34 (16 Oct 2002 13:20:01 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 16 Oct 2002 13:20:01 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:29839 Date: 2002-10-16T13:20:01+00:00 List-Id: Manuel Collado wrote: : Is there a way to reproduce the behaviour of the 'exit(status)' C-call : in pure Ada, without calling it as a foreign procedure? A compiler may allow returning an Integer to the environment, if your main unit is a function. Or you could handle a user defined exception and set_exit_status. -- georg