C
int FSremovepgm( const rom char * fileName );
Description
The FSremovepgm function will copy a PIC18 ROM fileName argument into a RAM array, and then pass that array to the FSremove function.
Preconditions
File not opened; file exists
Parameters
Parameters |
Description |
fileName |
The name of the file to be deleted (ROM) |
Return Values
Return Values |
Description |
0 |
File was removed successfully |
-1 |
File could not be removed |
Side Effects
The FSerrno variable will be changed.
Remarks
This function is for use with PIC18 when passing arguments in ROM.