CreateFirstCluster Function

Microchip MDD File System Interface

MDDFS Interface Library Help
CreateFirstCluster Function
C
CETYPE CreateFirstCluster(
    FILEOBJ fo
);
Description

This function will find an unused cluster, link it to a file's directory entry, and write the entry back to the device.

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
fo 
The file that contains the first cluster 
Return Values
Return Values 
Description 
CE_GOOD 
First cluster created successfully 
CE_WRITE_ERROR 
Cluster creation 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.