Windows and ctime / st_ctime

Does Windows offer something like a POSIX stat st_ctime field that gives the timestamp of the latest metadata?

Background: I have some data files that I would like to check if they have changed from a specific timestamp. Checking the modified timestamp (mtime) is simple and takes care of the “normal” modifications, but if the user copies older versions of the data files, then the modified timestamp will show that they are older. On a POSIX system, copying an older file will cause ctime to be newer, even if mtime is older.

+5
source share
1 answer

, Windows " ", API Win32 , Native API.

: ( .)

Native API . , .

Cygwin POSIX Windows, . .

, "" , Windows (, , ctime). , , ( , , , ), , .

+2

All Articles