OEUnlinkDirectory

bool OEUnlinkDirectory(const char *dname)

Deletes or renames a directory portably. All files and subdirectories of the given directory should be deleted before calling this function. This function returns true upon success.