comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Platform portable support of heir. file systems
Date: 1996/12/19
Date: 1996-12-19T00:00:00+00:00	[thread overview]
Message-ID: <dewar.850996651@merv> (raw)
In-Reply-To: 01bbec7f$453edcd0$24af1486@pc-phw


Paul asked

"I was just working on one of our support packages that interfaces to the
host OS to do file I/O and can't find any support in the Ada Annex set for
a portable way of accessing heir. file systems.  I need things like
"MakeDirectory", "RemoveDirectory", etc.

Am I missing something, or is it the case that there is no Ada Annex
covering this very common need?

If there is no Annex support, is the ARA working on some kind of industry
agreement about such things?
"



This is obviously operating system dependent, and not something that one
would expect in an OS independent language definition (as a point of
comparison, ANSI C does not support these operations either).

So you expect to find these operations supported in standard libraries.
In the case of Ada 95, there are two possibilities. You can either use
a standard Posix interface if one is available, or you can call the
C library routines directly using appropriate Import pragmas. Either
approach will lead to well defined, portable code.





  parent reply	other threads:[~1996-12-19  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-18  0:00 Platform portable support of heir. file systems Paul Whittington
1996-12-18  0:00 ` Larry Kilgallen
1996-12-18  0:00   ` Tarjei T. Jensen
1996-12-18  0:00     ` Larry Kilgallen
1996-12-20  0:00     ` Robert Dewar
1996-12-21  0:00       ` Tarjei T. Jensen
1996-12-21  0:00         ` Larry Kilgallen
1996-12-22  0:00           ` Tarjei T. Jensen
1996-12-22  0:00           ` Robert Dewar
1996-12-23  0:00             ` Larry Kilgallen
1996-12-22  0:00         ` Robert Dewar
1996-12-19  0:00   ` Michael F Brenner
1996-12-19  0:00     ` Larry Kilgallen
1996-12-19  0:00       ` Michael F Brenner
1996-12-19  0:00         ` Larry Kilgallen
1996-12-20  0:00           ` Robert A Duff
1996-12-23  0:00   ` David J. Fiander
1996-12-19  0:00 ` Robert Dewar [this message]
1996-12-19  0:00 ` Robert I. Eachus
replies disabled

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