DeleteDirectory |
Files | |
Aptilis 1 |
DeleteDirectory(DirectoryName)
DeleteDirectory will delete the directory you specified.
The directory you want to delete must be empty, otherwise
the deletion will fail.
Use getFileList,
getDirectoryList and
deleteFile to check and if necessary
delete the content of a directory.
Return Value:
0 if everything was OK.
-1 in case of error and the _errno variable contains more
details about the error.