comp.lang.ada
 help / color / mirror / Atom feed
From: Dale Stanbrough <dale@cs.rmit.edu.au>
Subject: Re: System Calls
Date: Tue, 10 Jul 2001 21:55:06 GMT
Date: 2001-07-10T21:55:06+00:00	[thread overview]
Message-ID: <dale-9B9E89.07550511072001@mec2.bigpond.net.au> (raw)
In-Reply-To: ab21b49a.0107101020.7e4befbe@posting.google.com

Matt Raikes wrote:

> I am attempting to call a Unix(gzip) executable with in my Ada code,
> must I go through a pragma or there an easier way of doing that..
> Thanks in advance.

You (obviously) need to call the operating system to do this.
Unix requires a C -calling convention- (not for you to call
from a C program), and this can be done from Ada by using
the appropriate pragrams.

Prebuilt solutions include the Posix interface Florist, and 
a couple of others that are about.

If you know Ada it's not a very hard job to create such a binding.

Dale



  reply	other threads:[~2001-07-10 21:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-10 18:20 System Calls Matt Raikes
2001-07-10 21:55 ` Dale Stanbrough [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-12-23  0:00 mabrouk BELHOUT
1998-12-16  0:00 mabrouk BELHOUT
1998-12-16  0:00 ` dennison
1998-12-17  0:00   ` Gilles Sarnikowski
1998-12-17  0:00     ` dennison
1998-12-18  0:00       ` mabrouk BELHOUT
1998-12-24  0:00       ` Michael F Brenner
1998-12-24  0:00         ` dennison
1998-12-24  0:00           ` Larry Kilgallen
1998-12-25  0:00             ` dewarr
1998-12-29  0:00               ` Tarjei Tj�stheim Jensen
1998-12-29  0:00                 ` robert_dewar
1998-12-29  0:00                 ` Larry Kilgallen
1998-12-30  0:00                   ` dennison
1998-12-29  0:00           ` Robert A Duff
1998-12-30  0:00             ` dennison
1999-01-02  0:00               ` Chris Morgan
1998-12-25  0:00         ` dewar
1998-12-25  0:00         ` dewar
replies disabled

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