www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/05/20:15:15.1

From: sami3079 AT my-deja DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: How to convert findfirst()'s mod-time to utime()'s format?
Date: Thu, 06 Jul 2000 00:05:04 GMT
Organization: Deja.com - Before you buy.
Lines: 13
Message-ID: <8k0ifb$169$1@nnrp1.deja.com>
NNTP-Posting-Host: 195.165.1.12
X-Article-Creation-Date: Thu Jul 06 00:05:04 2000 GMT
X-Http-User-Agent: Mozilla/4.7 [en] (Win98; I)
X-Http-Proxy: HTTP/1.1 cache.inet.fi[C0A8020C] (The_Hudsucker_Proxy/TRE/3.0.6 [uScMs f p eN:t cCMi p s ]), 1.0 x69.deja.com:80 (Squid/1.1.22) for client 195.165.1.12
X-MyDeja-Info: XMYDJUIDsami3079
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello people,

My problem is that stat() is slow, I would only need to get the
file's modification date and time. How do I convert the values
returned by findfirst() to the format used by utime()? I can
only find the documentation for findfirst()'s ''ffblk'', but I
haven't found any info on utime()'s format. It would be nice
to get date/time info from findfirst() because it's is used in
the code just before the stat() which I currently have to use.


Sent via Deja.com http://www.deja.com/
Before you buy.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019