comp.lang.ada
 help / color / mirror / Atom feed
From: Steve Crowe <stevecrowe@ndirect.co.uk>
Subject: Importing a Unix function call
Date: 1998/12/04
Date: 1998-12-04T00:00:00+00:00	[thread overview]
Message-ID: <36683FA3.2512DECF@ndirect.co.uk> (raw)

Someone has bound to have done this before... hopefully.

Using Ada to import a function is easy, but if the function parameter
returns
a value, how is the Ada error overcome.  As I want the return value as
well
as the out parameter.  Is there away round this using a pragma?

GNAT AdA compiler running under Unix, the function being imported is a
Unix 'pipe'.

Anyone have any ideas on this?


--
MZ�






             reply	other threads:[~1998-12-04  0:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-04  0:00 Steve Crowe [this message]
1998-12-04  0:00 ` Importing a Unix function call dennison
1998-12-04  0:00 ` Larry Kilgallen
1998-12-04  0:00   ` David Botton
1998-12-05  0:00     ` Larry Kilgallen
1998-12-06  0:00 ` Matthew Heaney
1998-12-06  0:00   ` David Botton
1998-12-06  0:00     ` Matthew Heaney
1998-12-07  0:00       ` 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