libexplain  1.4.D001
Functions
libexplain/is_same_inode.c File Reference
#include <libexplain/ac/sys/stat.h>
#include <libexplain/is_same_inode.h>

Go to the source code of this file.

Functions

int explain_is_same_inode (const struct stat *st1, const struct stat *st2)

Function Documentation

int explain_is_same_inode ( const struct stat *  st1,
const struct stat *  st2 
)

The explain_is_same_inode function may be used to compare two stat structs to determine whether or not they describe the same inode.

Parameters:
st1pointer to the first stst struct
st2pointer to the second stst struct
Returns:
int; 0 if not the same, 1 if the same

Definition at line 26 of file is_same_inode.c.