map
Description:
Fill info
with the pointer and sizes of the memory in this that can be accessed according to
flags
.
This function can return false
for various reasons: - the memory backed by this is not
accessible with the given flags
. - the memory was already mapped with a different mapping.
info
and its contents remain valid for as long as this is valid and until
unmap is called.
For each map call, a corresponding unmap call should be done.
Parameters:
this |
a Memory |
info |
pointer for info |
flags |
mapping flags |
Returns:
|