pub unsafe fn mremap_fixed(
    old_address: *mut c_void,
    old_size: usize,
    new_size: usize,
    flags: MremapFlags,
    new_address: *mut c_void
) -> Result<*mut c_void>
Expand description

mremap(old_address, old_size, new_size, MREMAP_FIXED | flags)—Resize, modify, and/or move a memory mapping to a specific address.

For mremap without moving to a specific address, see mremap. mremap_fixed.

Safety

Raw pointers and lots of special semantics.

References