Maps the region boxed by the XPC shared memory object into the caller’s address space.
- macOS 10.7+
- Mac Catalyst 13.0+
The shared memory object to be examined.
On return, this will point to the region at which the shared memory was mapped.
The length of the region that was mapped. If the mapping failed, 0 is returned.
The resulting region must be disposed of with
It is the responsibility of the caller to manage protections on the new region accordingly.