[−][src]Function sunrise_kernel::syscalls::unmap_shared_memory
pub fn unmap_shared_memory(
handle: u32,
addr: usize,
size: usize
) -> Result<(), UserspaceError>
Unmaps this shared memory region. This cannot be used to partially unmap a region: the address must be the start of the shared mapping, and the size must be the full size of the mapping.
Error
- InvalidAddress: address is not the start of a shared mapping
- InvalidSize: Size is not the same as the mapping size.