FSremovepgm Function

MDD File System Interface Library

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

Deletes the file on PIC18 device.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 
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.

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