Test if two paths refer to the same physical file. Both the reason and
implementation of this call is highly system dependent:
Unix
Multiple paths may refer to the same phyical objects due to hard- and
soft links. Equivalence testing is achieved comparing the the inode and
device identifier as returned by the stat() call.
WIndows
Without links life looks easier, but isn't. Windows files are
case-insensitive, on "8+3" filesystems the names are truncated and on
VFAT/FAT32 systems both the long and short version exist.
The handling of long and short filenames is a bit buggy. If someone
knows an efficient and correct solution to test equivalence, please let
us know.