libexplain  1.4.D001
Functions
libexplain/same_dev.h File Reference

Go to the source code of this file.

Functions

int explain_same_dev (const char *oldpath, const char *newpath)

Function Documentation

int explain_same_dev ( const char *  oldpath,
const char *  newpath 
)

The explain_same_dev function may be used to

Parameters:
oldpathpathname of a file on a file system
newpathpathname of a file on a file system, or its dirname is
Returns:
int; non-zero (true) if both paths refer to a file system from the same block special device, zero (false) if different.

Definition at line 29 of file same_dev.c.