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

PrgT_Path_Name_Status

Returns PrgC_Path_Name_Is_Dir or PrgC_Path_Name_Is_Not_Dir to indicate if the pathname passed in is a valid directory

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com