Function mremap

Source
pub unsafe fn mremap(
    old_address: *mut void,
    old_size: size_t,
    new_size: size_t,
    flags: int,
    new_address: *mut void,
) -> Result<*mut void>
Expand description

Change a memory mapping previously created with mmap.

The new_address argument is used only if flags includes MREMAP_FIXED. Set it to null if unused.