Re: file info
- From: Dustbin <dustbin_address@xxxxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 06:24:28 GMT
Jan v/d Broek wrote:
in news:8yBSg.40834$PD.19407@xxxxxxxxxxxxxxxxxxxxxxxxx\n27 sep 2006, Dustbin schrieb:
How can I get file info such as timestamp; datestamp; file length, etc. in C.
I have Schildt 1990 - C: The Complete Reference, as basic resource but this does not appear to offer anything on the matter.
D.
Dit is somewhat platform-dependent, if you're on a Unix-like environment
you may want to look at the stat-function. On a DOS/Windows-based platform it might be in the findfirst/findnext-functions.
THX.
You are right; these data are in the find_t struct and the data are returned by the _dos_findfirst() call. I didn't look there because I didn't expect to find it there.
D.
--
=======================
Women have spent the last
30 years proving that men
have been right for the
last 30 centuries.
=======================
.
- Follow-Ups:
- Re: file info
- From: Richard Heathfield
- Re: file info
- References:
- file info
- From: Dustbin
- Re: file info
- From: Jan v/d Broek
- file info
- Prev by Date: Re: file info
- Next by Date: Re: Memory leak detectors
- Previous by thread: Re: file info
- Next by thread: Re: file info
- Index(es):