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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,8ebde0e81efb7e79,start X-Google-Attributes: gid103376,public From: Steve Crowe Subject: Importing a Unix function call Date: 1998/12/04 Message-ID: <36683FA3.2512DECF@ndirect.co.uk>#1/1 X-Deja-AN: 418719677 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 X-Trace: 4 Dec 1998 19:35:48 GMT, 195.7.228.142 Organization: NameGold Limited MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 1998-12-04T00:00:00+00:00 List-Id: 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�