DeleteDir
int DeleteDir (char directoryName[]);
Purpose
Deletes an existing directory.
Parameters
Input
Name
Type
Description
directoryName
string
The pathname of the directory to delete.
Return Value
Name
Type
Description
integer
The result of the call.
Code
Description
0
Success.
-1
Directory not found.
-3
General I/O error occurred.
-4
Insufficient memory to complete operation.
-6
Access denied, or directory not empty.
-7
Path is a file, not a directory.