Method lrs::mem_map::MemMap::resize

Resizes an existing mapping.

Syntax

impl MemMap {
    fn resize(&mut self, new_size: usize, flags: MemReMapFlags) -> Result<(), Errno>
}

Arguments

NameDescription
new_size

The new size of the mapping.

flags

Flags to use when remapping this mapping.

Remarks

The MREMAP_FIXED flag must not be used with this interface.

See also