<< Previous | Next >>

fat_SyncPartition

int fat_SyncPartition( fat_part *part );

Description

Flushes all cached writes to the specified partition to the actual device.

Parameter

part
Pointer to the partition to be synchronized.

Return Value

0: success.
-EINVAL: part is invalid.
-EBUSY: the device is busy (Only if non-blocking). Call function again to complete the sync.

Any other negative value: I/O error when updating the device.

Library

FAT.LIB

See Also

fat_Close, fat_SyncFile, fat_UnmountPartition


Dynamic C Functions << Previous | Next >> rabbit.com