FSrmdirpgm Function

Microchip MDD File System Interface

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

The FSrmdirpgm function passes a PIC18 ROM path pointer to the rmdirhelper function.

Preconditions

None.

Parameters
Parameters 
Description 
path 
The path of the directory to remove (ROM) 
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

This function is for use with PIC18 when passing arguments in ROM.

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