Cache_File_Entry Function

Microchip MDD File System Interface

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

Load the sector containing the file entry pointed to by 'curEntry' from the directory pointed to by the variables in 'fo.'

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
fo 
File information 
curEntry 
Offset of the directory entry to load. 
ForceRead 
Forces loading of a new sector of the directory
Returns

DIRENTRY - Pointer to the directory entry that was loaded.

Side Effects

Any unwritten data in the data buffer will be written to the device.

Remarks

Any modification of this function is extremely likely to break something.

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