Synopsis
CTL_STATUS_t ctl_ms_flush_sectors_for_volume(CTL_MS_VOLUME_t *vol);
Description

ctl_ms_flush_sectors_for_volume flushes all sectors in the cache associated with the volume vol to the media. If a sector on the volume is locked for read or write, ctl_ms_flush_sectors_for_volume fails immediately, without writing any sector to the media, and the sector cache is unmodified.