diff options
Diffstat (limited to 'doc/windows-stat-timespec.texi')
-rw-r--r-- | doc/windows-stat-timespec.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/windows-stat-timespec.texi b/doc/windows-stat-timespec.texi new file mode 100644 index 0000000000..8aebafc222 --- /dev/null +++ b/doc/windows-stat-timespec.texi @@ -0,0 +1,13 @@ +@node Precise file timestamps on Windows +@section Precise file timestamps on Windows + +The module @samp{windows-stat-timespec} ensures that, +on native Windows platforms, @code{struct stat} contains +@code{st_atim}, @code{st_mtim}, @code{st_ctim} fields of type +@code{struct timespec}, providing 100 ns resolution for the timestamps +of files. + +Note: On some types of file systems, the timestamp resolution is limited +by the file system. For example, on FAT file systems, @code{st_mtim} +only has a resolution of 2 seconds. For more details, see +@url{https://msdn.microsoft.com/en-us/library/ms724290.aspx}. |