wFSremove Function

MDD File System Interface Library

MDDFS Interface Library Help
wFSremove Function
C
int wFSremove(
    const unsigned short int * fileName
);
Description

Deletes the file on PIC24/PIC32/dsPIC device.The 'fileName' is in UTF16 format. The wFSremove function will attempt to find the specified UTF16 file name with the FILEfind function. If the file is found, it will be erased using the FILEerase function.

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.