Unmap a memory region that is backed by a memory-mapped file.
The function has the following parameters:
- The starting address of the memory region to be unmapped.
- The length, in bytes, of the memory region.
The function returns one of the following values:
- If the memory region is successfully unmapped,
- If the memory region is not successfully unmapped,
PR_FAILURE. The error code can be retrieved via
PR_MemUnmap removes the file mapping for the memory region (
addr + len). The parameter
addr is the return value of an earlier call to