nix::sys::mman

Function msync

source
pub unsafe fn msync(
    addr: NonNull<c_void>,
    length: size_t,
    flags: MsFlags,
) -> Result<()>
Expand description

synchronize a mapped region

ยงSafety

addr must meet all the requirements described in the msync(2) man page.