st_dev
and st_inode
, same_file/2
is implemented by comparing the device and inode identifiers. On
Windows,
same_file/2
uses GetFileInformationByHandle() and compares the volume serial number
and file index.156As of version
8.5.16. Earlier versions only compare the canonical name obtained using
GetFullPathName().