| delorie.com/archives/browse.cgi | search |
| Message-Id: | <200007081230.PAA30642@alpha.netvision.net.il> |
| Date: | Sat, 08 Jul 2000 15:31:52 +0200 |
| To: | john Latala <jrlatala AT golden DOT net> |
| X-Mailer: | Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b |
| From: | "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> |
| CC: | djgpp AT delorie DOT com |
| In-reply-to: | <Pine.BSI.4.05L.10007080608560.5380-100000@shell.golden.net> |
| (message from john Latala on Sat, 8 Jul 2000 06:10:01 -0400 (EDT)) | |
| Subject: | Re: Other ways to get the time stamp of a file |
| References: | <Pine DOT BSI DOT 4 DOT 05L DOT 10007080608560 DOT 5380-100000 AT shell DOT golden DOT net> |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Sat, 8 Jul 2000 06:10:01 -0400 (EDT) > From: john Latala <jrlatala AT golden DOT net> > > > How do I go about getting the time stamp of a file on disk other than > > using `stat'? > > Read the contents of the directory information right out of the directory > 'file' from the harddisk. This is only possible by accessing the disk on the sector (i.e. BIOS) level, since DOS/Windows don't let you to open() a directory. Direct disk access of the kind that is needed for implementing your suggestion will tremendously slow down a program, to suc a degree that the whole issue of avoiding `stat' is null and void.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |