Get the memory of @mem that can be accessed according to the mode specified in @info's flags. The function should return a pointer that contains at least @maxsize bytes.
a pointer to memory of which at least @maxsize bytes can be accessed according to the access pattern in @info's flags.
See Implementation
Get the memory of @mem that can be accessed according to the mode specified in @info's flags. The function should return a pointer that contains at least @maxsize bytes.