From: Robert Dewar <dewar@gnat.com>
Subject: Re: "system" Call in GNAT?
Date: 1999/04/07
Date: 1999-04-07T00:00:00+00:00 [thread overview]
Message-ID: <7egmhh$tif$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 3708E4C0.F13C2023@alphasoft-inc.com
In article <3708E4C0.F13C2023@alphasoft-inc.com>,
smithm-nospam@stelnj.com wrote:
> Hi All,
>
> I was looking for a call in GNAT that would make
> invoke a command to the OS
> for me and I found the function "system" and "execl".
When using GNAT, do not forget that a critical part of
the documentation is the specs of the g.xxx units, found
in the g-xxx.ads files in gnatlib. These provide a lot of
useful functionality. In this particular case, look up
the section called Subprocesses in g-os_lib.ads, it may
well do what you want, without having to mess with low
level interface to C functions.
Robert Dewar
Ada Core Technologies
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
prev parent reply other threads:[~1999-04-07 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-05 0:00 "system" Call in GNAT? M. Smith
1999-04-05 0:00 ` Jerry van Dijk
1999-04-07 0:00 ` Robert Dewar [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox