MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / msync

Function msync

src/mm/msync.rs:44–46  ·  view source on GitHub ↗
(addr: *mut c_void, len: usize, flags: MsyncFlags)

Source from the content-addressed store, hash-verified

42/// [glibc]: https://sourceware.org/glibc/manual/latest/html_node/Memory_002dmapped-I_002fO.html#index-msync
43#[inline]
44pub unsafe fn msync(addr: *mut c_void, len: usize, flags: MsyncFlags) -> io::Result<()> {
45 backend::mm::syscalls::msync(addr, len, flags)
46}

Callers 1

test_msyncFunction · 0.50

Calls

no outgoing calls

Tested by 1

test_msyncFunction · 0.40