FSremove Function

MDD File System Interface Library

MDDFS Interface Library Help
FSremove Function
C
int FSremove(
    const char * fileName
);
Description

Deletes the file on PIC24/PIC32/dsPIC device.The 'fileName' is in ascii format. The FSremove function will attempt to find the specified file with the FILEfind function. If the file is found, it will be erased using the FILEerase function. The user can also provide ascii alias name of the ascii long file name as the input to this function to get it erased from the memory.

Preconditions

File not opened, file exists

Parameters
Parameters 
Description 
fileName 
Name of the file to erase 
Return Values
Return Values 
Description 
File removed 
EOF 
File was not removed 
Side Effects

The FSerrno variable will be changed.

Remarks

None

Microchip MDD File System Interface 1.4.2 - [Oct 15, 2012]
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.