FSrmdir Function

Microchip MDD File System Interface

MDDFS Interface Library Help
FSrmdir Function
C
int FSrmdir(
    char * path, 
    unsigned char rmsubdirs
);
Description

The FSrmdir function passes a RAM pointer to the path to the rmdirhelper function.

Preconditions

None

Parameters
Parameters 
Description 
path 
The path of the directory to remove 
rmsubdirs 
  • TRUE - All sub-dirs and files in the target dir will be removed
  • FALSE - FSrmdir will not remove non-empty directories

 

Return Values
Return Values 
Description 
The specified directory was deleted successfully 
EOF 
The specified directory could not be deleted 
Side Effects

The FSerrno variable will be changed.

Remarks

None.

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