announce-gen: add comments
[gnulib.git] / doc / windows-stat-inodes.texi
blob4645302ddb916d2a08600b9dc9e514b726d08d9b
1 @node Inode numbers on Windows
2 @section Inode numbers on Windows
4 @mindex windows-stat-inodes
5 The module @samp{windows-stat-inodes} ensures that,
6 on native Windows platforms, @code{struct stat} contains
7 @code{st_dev}, @code{st_ino} fields that are able to distinguish
8 different inodes.
10 Note: Such values can only be provided for most files on the
11 file system.  For a few files (such as inaccessible files),
12 @code{st_dev} and @code{st_ino} are set to 0.  Therefore,
13 you should test whether @code{st_dev != 0 && st_ino != 0},
14 before going to make inferences based on the file identity
15 based on @code{st_dev} and @code{st_ino}.