From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: How to be sure of if a file exist?
Date: 1996/07/07
Date: 1996-07-07T00:00:00+00:00 [thread overview]
Message-ID: <dewar.836768752@schonberg> (raw)
In-Reply-To: Pine.SOL.3.92.960705172604.10567C-100000@rodric.dtek.chalmers.se
Markus said
"How can I make my program find out which files that exist in a certain
directory?"
There is no implementation independent way of doing this (indeed even the
idea of a directory is somewhat implementation dependent).
No doubt the operating system that provides the directories also provides
some routines that answer your question. Find out what these routines are
and call them. To call them from Ada, use pragma Import with the appropriate
convention name. For example, if you find some Fortran routines that do
what you want, call them using pragma Import (Fortran, ...)
next prev parent reply other threads:[~1996-07-07 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-05 0:00 How to be sure of if a file exist? Markus Wahl
1996-07-07 0:00 ` Robert Dewar [this message]
1996-07-08 0:00 ` Tarjei Jensen
1996-07-09 0:00 ` Larry Kilgallen
1996-07-08 0:00 ` Walter B. Hollman 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