eraseDir Function

Microchip MDD File System Interface

MDDFS Interface Library Help
eraseDir Function
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 
Dir was deleted successfully 
-1 
Dir could not be deleted. 
Side Effects

None

Remarks

None.

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.