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

Go to the source code of this file.

Functions

int explain_pathname_is_a_directory (const char *pathname)

Function Documentation

int explain_pathname_is_a_directory ( const char *  pathname)

The explain_pathname_is_a_directory function may be used to determine whether or not a given pathname refers to a directory.

Parameters:
pathnameThe path of interest
Returns:
int; non-zero (true) if the path exists and is a directory, zero (false) if the file does not exists, or does exist but is not a directory.

Definition at line 26 of file pathname_is_a_directory.c.