Write_File_Entry Function

Microchip MDD File System Interface

MDDFS Interface Library Help
Write_File_Entry Function
C
BYTE Write_File_Entry(
    FILEOBJ fo, 
    WORD * curEntry
);
Description

This function will calculate the sector of the directory (whose base sector is pointed to by the dirccls value in the FSFILE object 'fo') that contains a directory entry whose offset is indicated by the curEntry parameter. It will then write the data in the global data buffer (which should already contain the entries for that sector) to the device.

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
fo 
File structure 
curEntry 
Write destination 
Return Values
Return Values 
Description 
TRUE 
Operation successful 
Operation failed 
Side Effects

None

Remarks

None

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.