FSremovepgm Function

Microchip MDD File System Interface

MDDFS Interface Library Help
FSremovepgm Function
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 
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.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.