pub unsafe fn mremap(
old_address: *mut c_void,
old_size: usize,
new_size: usize,
flags: MremapFlags
) -> Result<*mut c_void>Expand description
mremap(old_address, old_size, new_size, flags)—Resize, modify,
and/or move a memory mapping.
For moving a mapping to a fixed address (MREMAP_FIXED), see
mremap_fixed.
Safety
Raw pointers and lots of special semantics.