comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Time of modification of file
Date: Thu, 22 May 2003 14:55:45 -0500
Date: 2003-05-22T14:55:45-05:00	[thread overview]
Message-ID: <vcqao0guc0bb16@corp.supernews.com> (raw)
In-Reply-To: uhe7mzsfz.fsf@nasa.gov

Stephen Leake wrote in message ...
>"szygula" <szygula@szygula.prv.pl> writes:
>
>> How to obtain information about time of modification of file in
ADA95.
>> I use ADA95 for Windows.
>
>If you are using the GNAT compiler, see the package GNAT.OS_Lib; it
>defines the function "File_Time_Stamp".


If you are using an Ada 200y compiler :-),
package Ada.Directories contains this and many other useful functions.

Ada.Directories.Modification_Time (Name)

does what you want. See AI-248.

Unfortunately, I'm not aware of any compilers currently supporting
Ada.Directories. Too bad.

                  Randy Brukardt.





  reply	other threads:[~2003-05-22 19:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-22 18:16 Time of modification of file szygula
2003-05-22 19:34 ` Stephen Leake
2003-05-22 19:55   ` Randy Brukardt [this message]
2003-05-23 10:49     ` Martin Dowie
2003-05-23 18:27       ` Randy Brukardt
2003-05-23 21:40         ` Dale Stanbrough
2003-05-25  7:44           ` Martin Krischik
replies disabled

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