C
int eraseDir( char * path );
Description
The eraseDir function is a helper function for the rmdirhelper function. The eraseDir function will search for the directory that matches the specified path name and then erase it with the FILEerase function.
Preconditions
This function should not be called by the user.
Parameters
Parameters |
Description |
path |
The name of the directory to delete |
Return Values
Return Values |
Description |
0 |
Dir was deleted successfully |
-1 |
Dir could not be deleted. |
Side Effects
None
Remarks
None.