def samestat(s1, s2):
 return ((s1.st_ino == s2.st_ino) and (s1.st_dev == s2.st_dev))

def samestat ( s1 , s2 ) : return ( ( s1 . st_ino == s2 . st_ino ) and ( s1 . st_dev == s2 . st_dev ) )
test whether two stat buffers reference the same file .