pub unsafe fn mremap(
mmap: &mut Mmap,
new_len: usize,
flags: u32,
new_addr: *mut u8,
) -> Result<()>Expand description
Grows, shrinks or moves a memory mapping.
ยงSafety
The application must ensure that the memory that is unmapped or moved is no longer used.