comp.lang.ada
 help / color / mirror / Atom feed
From: John McCabe <john@nospam.assen.demon.co.uk>
Subject: Re: [Q] Operating System Command Interface
Date: 1998/05/05
Date: 1998-05-05T00:00:00+00:00	[thread overview]
Message-ID: <6in5sm$9n1@gcsin3.geccs.gecm.com> (raw)
In-Reply-To: 6in54g$jc9$1@polo.advicom.net


>John McCabe wrote in message <6ims5j$1vo@gcsin3.geccs.gecm.com>...
>>Am I right in thinking that, as standard, Ada has no direct perating
>>system command interface akin to the C "System" call?

>You're right, but the solution is simple.  I use the following library
>function:

<..snip..>

>   pragma Import (C, Execute, "system");

<..snip..>

Thanks David.

However, I presume that this relies on the C "system" function being 
available in a linkable library.

-- 
Best Regards
John McCabe

=====================================================================
Any opinions expressed are mine and based on my own experience. They
  should in no way be taken as the opinion of anyone I am currently
     working with, or of the company I am currently working for.
                (remove "nospam." to reply by e-mail)
=====================================================================






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

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-05  0:00 [Q] Operating System Command Interface John McCabe
1998-05-05  0:00 ` Do-While Jones
1998-05-08  0:00   ` Nick Roberts
1998-05-05  0:00 ` Stanley R. Allen
1998-05-05  0:00   ` Andi Kleen
1998-05-06  0:00     ` Markus Kuhn
1998-05-05  0:00   ` John McCabe
1998-05-05  0:00 ` David C. Hoos, Sr.
1998-05-05  0:00   ` John McCabe [this message]
1998-05-05  0:00     ` Robert Dewar
1998-05-05  0:00 ` Markus Kuhn
1998-05-05  0:00   ` David C. Hoos, Sr.
replies disabled

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