comp.lang.ada
 help / color / mirror / Atom feed
* Importing a Unix function call
@ 1998-12-04  0:00 Steve Crowe
  1998-12-04  0:00 ` Larry Kilgallen
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Steve Crowe @ 1998-12-04  0:00 UTC (permalink / 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�






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~1998-12-07  0:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-12-04  0:00 Importing a Unix function call Steve Crowe
1998-12-04  0:00 ` Larry Kilgallen
1998-12-04  0:00   ` David Botton
1998-12-05  0:00     ` Larry Kilgallen
1998-12-04  0:00 ` dennison
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

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