comp.lang.ada
 help / color / mirror / Atom feed
From: "Samuel T. Harris" <u61783@gsde.hou.us.ray.com>
Subject: Re: howto make system calls (newbie question)
Date: Thu, 10 May 2001 07:34:54 -0500
Date: 2001-05-10T07:34:54-05:00	[thread overview]
Message-ID: <3AFA8AEE.9C60F9AC@gsde.hou.us.ray.com> (raw)
In-Reply-To: mailman.989446147.16920.comp.lang.ada@ada.eu.org

"Beard, Frank" wrote:
> 
> -----Original Message-----
> From: Samuel T. Harris [mailto:u61783@gsde.hou.us.ray.com]
> 
> > Of course, there are other "standards" which are not part
> > of the Ada standard. For instance, the POSIX Ada binding
> > has been invaluable to me in writing portable code which
> > requires facilities from the operating system.
> 
> Most of the ones I would like included are found in the
> POSIX Ada binding (file/record locking on files, move/rename
> files, directory lists, environment variable handling,
> process IDs, thread IDs).  I would also like file access
> control.
> 
> > Since this is standardized by IEEE, I feel any particular
> > need to include it as an Ada LRM annex.
> 
> I think you are saying you "don't" feel any particular

Yes. I corrected myself elsewhere.

> need to include it as an Ada LRM annex.  If that is what
> you are saying, then I disagree.  Even though I'm using
> the POSIX binding, it is still too C-ish.  And when I ported
> our application to MS Windows, I had to write my own
> POSIX Ada binding for the API's that I needed (this was
> before Pascal Obry's binding came out).  I took the POSIX
> Ada binding spec and wrote my own bodies for the ones I
> needed, and nulled the rest.  If that functionality,
> or any functionality, is part of the standard, there is
> no need to go out and find bindings, or write your own.
> It would already be available, assuming it was supported.
> 
> I don't know what the legalities are, but why not take the
> POSIX standard, use it as a model/guideline, and create a
> more "pure" Ada annex out of it.

There's the rub. A annex is optional. It will be provided
by a majority of vendors if there is enough customer
demand. This same demand can also cause vendors to support
the POSIX binding in its present form I don't see where
having an Annex serves any purpose in this regard.

Since POSIX is already a managed standard, I don't see
how "duplicating" it as an Ada standard servers any
purpose in this regard.

About the only thing I can think of is the validation
of compliance the POSIX standard could be enforced
as part of compiler certification. That would be good.
I suppose this work could be addressed by some
appropriate Ada Working Group.

As to the legalities, IEEE makes money when folks buy
their published standards. They may have a problem
with incorporating their POSIX Ada binding into a
ISO standard which is freely available.

-- 
Samuel T. Harris, Principal Engineer
Raytheon, Aerospace Engineering Services
"If you can make it, We can fake it!"



  reply	other threads:[~2001-05-10 12:34 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-09 22:07 howto make system calls (newbie question) Beard, Frank
2001-05-10 12:34 ` Samuel T. Harris [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-10 21:22 Beard, Frank
2001-05-10 20:11 Beard, Frank
2001-05-11 16:03 ` Samuel T. Harris
2001-05-10 19:54 Beard, Frank
2001-05-10 20:41 ` Pascal Obry
2001-05-09 22:28 Beard, Frank
2001-05-09 22:19 Beard, Frank
2001-05-10  6:18 ` Pascal Obry
2001-05-10 12:40 ` Samuel T. Harris
2001-05-10 15:44   ` Stephen Leake
2001-05-09 21:42 Mike Brenner
2001-05-07 17:04 Beard, Frank
2001-05-04 21:08 Beard, Frank
2001-05-04 22:45 ` Jeffrey Carter
2001-05-07 14:47 ` Marin David Condic
2001-05-09 13:41   ` Noam Kloos
2001-05-09 14:17     ` Ted Dennison
2001-05-16 12:45       ` Marc A. Criley
2001-05-16 19:50         ` Ted Dennison
2001-05-09 18:29 ` GianLuigi Piacentini
2001-05-09 19:18   ` David Starner
2001-05-04 20:56 Beard, Frank
2001-05-07 14:42 ` Marin David Condic
2001-05-07 16:41   ` Samuel T. Harris
2001-05-07 18:25     ` Marin David Condic
2001-05-08 20:30       ` Samuel T. Harris
2001-05-08 21:13         ` Marin David Condic
2001-05-08 20:23     ` Samuel T. Harris
2001-05-08  7:34   ` Tarjei T. Jensen
2001-05-08 12:16     ` Larry Kilgallen
2001-05-08 14:12       ` Tarjei T. Jensen
2001-05-08 16:48         ` Larry Kilgallen
2001-05-08 21:40           ` Charles Hixson
2001-05-08 22:53             ` Larry Kilgallen
2001-05-09 16:00               ` Charles Hixson
2001-05-09 17:14                 ` Larry Kilgallen
2001-05-09  8:25           ` Tarjei T. Jensen
2001-05-09 12:28             ` Larry Kilgallen
2001-05-09 16:13               ` Charles Hixson
2001-05-10  7:17               ` Tarjei T. Jensen
2001-05-08 13:43     ` Marin David Condic
2001-05-12  2:58       ` Randy Brukardt
2001-05-12 13:07         ` Larry Kilgallen
2001-05-04  7:51 Lars Lundgren
2001-05-04  8:16 ` L.H.Jeong
2001-05-04  8:47   ` Lars Lundgren
2001-05-04 12:12     ` Marc A. Criley
2001-05-04 15:49       ` Marin David Condic
2001-05-04 17:46         ` tmoran
2001-05-04 18:46           ` Marin David Condic
2001-05-05  7:01             ` tmoran
2001-05-04 16:35     ` Jeffrey Carter
2001-05-04 11:00 ` Noam Kloos
2001-05-04 12:01   ` Lars Lundgren
replies disabled

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