Remaps a file in memory.
unsafe fn mremap(addr: usize, old_len: usize, new_len: usize, flags: i32, new_addr: usize) -> isize
| Name | Description |
|---|---|
| addr | The address of the map. |
| old_len | The current length of the map. |
| new_len | The new length of the map. |
| flags | Flags used to remap the memory. |
| new_addr | The new address at which the memory will be mapped. |
Returns a pointer to the new map or an error value.