writeDotEntries Function

Microchip MDD File System Interface

MDDFS Interface Library Help
writeDotEntries Function
C
BYTE writeDotEntries(
    DISK * dsk, 
    DWORD dotAddress, 
    DWORD dotdotAddress
);
Description

The writeDotEntries function will create and write dot and dotdot entries to a newly created directory.

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
disk 
The global disk structure 
dotAddress 
The cluster the current dir is in 
dotdotAddress 
The cluster the previous directory was in 
Return Values
Return Values 
Description 
TRUE 
The dot and dotdot entries were created 
The dot and dotdot entries could not be created in the new directory 
Side Effects

None

Remarks

None.

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