[][src]Function linux::syscall::mremap

pub unsafe fn mremap(
    addr: usize,
    old_len: usize,
    new_len: usize,
    flags: c_int,
    new_addr: usize
) -> isize

Remaps a file in memory.

[argument, addr] The address of the map.

[argument, old_len] The current length of the map.

[argument, new_len] The new length of the map.

[argument, flags] Flags used to remap the memory.

[argument, new_addr] The new address at which the memory will be mapped.

[return_value] Returns a pointer to the new map or an error value.

= See also

  • link:man:mremap(2)