Function file_guard::os::windows::raw_file_downgrade
source · pub unsafe fn raw_file_downgrade(f: &File, off: usize, len: usize) -> Result<()>
Expand description
Downgrades a file lock from exclusive to shared.
§Safety
This does not guarantee that an exclusive lock is already held.