paths_equal
paths_equal (path1, path2)
Determines if the two given paths actually represent the same file or directory. This will allow “subst” and “network mapped” drives to obtain the final target path for purposes of comparison.
Returns non-zero if the paths represent the same file or directory. Otherwise, paths_equal returns 0.