/// Free all mappings (allocations and reservations) overlapping any address
/// between `addr` and `addr+bytes`.
Free all mappings (allocations and reservations) overlapping any address
between `addr` and `addr+bytes`.
Free all mappings ( allocations and reservations ) overlapping any address between ` addr ` and ` addr + bytes ` .
pub unsafe fn unreserve(addr: usize, bytes: usize) -> Result<(), io::Error> {
    if munmap(addr as *mut _, bytes) == 0 {
        Ok(())
    } else {
        Err(io::Error::last_os_error())
    }
}
pub unsafe fn unreserve ( addr : usize , bytes : usize ) -> Result < ( ) , io :: Error > { if munmap ( addr as * mut _ , bytes ) == 0 { Ok ( ( ) ) } else { Err ( io :: Error :: last_os_error ( ) ) } }
Free all mappings (allocations and reservations) overlapping any address
between `addr` and `addr+bytes`.
Free all mappings ( allocations and reservations ) overlapping any address between ` addr ` and ` addr + bytes ` .
addr
usize
bytes
usize