prg_file_dir_delete()
摘要
删除一个目录。
语法
prg_file_dir_delete (dir_path_name, options)
| 参数 | 类型 | 说明 |
|---|---|---|
dir_path_name |
const char * |
目标目录的路径名 |
options |
int |
0(未使用) |
返回类型
PrgT_Compcode
若目录路径无效或目录无法删除,返回 PrgC_Compcode_Failure;否则返回 PrgC_Compcode_Success
头文件
prg_file_funcs.h
详情
该函数删除指定目录,包括其中所有文件和子目录。
警告: 请谨慎使用。