comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: How to port exit(s) from C to Ada
Date: Wed, 16 Oct 2002 13:20:01 +0000 (UTC)
Date: 2002-10-16T13:20:01+00:00	[thread overview]
Message-ID: <aojp21$qmc$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: 3DA69C5B.A3B8F264@lml.ls.fi.upm.es

Manuel Collado <m.collado@lml.ls.fi.upm.es> 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



  reply	other threads:[~2002-10-16 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-11  9:39 How to port exit(s) from C to Ada Manuel Collado
2002-10-16 13:20 ` Georg Bauhaus [this message]
2002-10-16 14:02 ` Preben Randhol
2002-10-16 17:45 ` Stephen Leake
2002-10-16 18:51 ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox