prg_path_name_is_dir()
Abstract
Given a string as a pathname, this function will return status to indicate if that pathname is a valid directory.
Syntax
prg_path_name_is_dir (directory_path_name)
| Argument | Type | Description |
|---|---|---|
directory_path_name |
const char * |
The the path of the directory of interest |
Return Type
Returns PrgC_Path_Name_Is_Dir or PrgC_Path_Name_Is_Not_Dir to indicate if the pathname passed in is a valid directory
Header
prg_file_funcs.h
Details
You should always construct a fully qualified pathname when calling this function. If you use a relative pathname, the function may return inconsistent values.