prg_file_dir_delete()
Abstract
Deletes a directory.
Syntax
prg_file_dir_delete (dir_path_name, options)
| Argument | Type | Description |
|---|---|---|
dir_path_name |
const char * |
Path name of the directory of interest |
options |
int |
0 (not used) |
Return Type
PrgT_Compcode
PrgC_Compcode_Failure if the directory path is invalid or the directory could not be deleted; PrgC_Compcode_Success otherwise
Header
prg_file_funcs.h
Details
This function deletes the specified directory, including all files and sub-directories within it.
WARNING: Use with caution.