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 |
0 |
File removed |
EOF |
File was not removed |
Side Effects
The FSerrno variable will be changed.
Remarks
None