C
int CreateDIR( char * path );
Description
The CreateDIR function is a helper function for the mkdirhelper function. The CreateDIR function will create a new file entry for a directory and assign a cluster to it. It will erase the cluster and write a dot and dotdot entry to it.
Preconditions
This function should not be called by the user.
Parameters
Parameters |
Description |
path |
The name of the dir to create |
Return Values
Side Effects
Any unwritten data in the data buffer or the FAT buffer will be written to the device.
Remarks
None.