pub unsafe fn msync( addr: *mut c_void, len: usize, flags: MsyncFlags, ) -> Result<()>
msync(addr, len, flags)—Synchronizes a memory-mapping with its backing storage.
msync(addr, len, flags)
addr must be a valid pointer to memory that is appropriate to call msync on. Some forms of msync may mutate the memory or evoke a variety of side-effects on the mapping and/or the file.
addr
msync