FSrmdirpgm Function

MDD File System Interface Library

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

Deletes the directory as per the ascii input path (PIC18). This function deletes the directory as specified in the path. This function wont delete the current working directory.

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.4.2 - [Oct 15, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.