Using Memory object handles (handles.h)
The functions defined in handles.h are helper functions that enable you to get object information (e.g., size, file descriptor, etc.) and close the memory object handle.
Description:
To prevent resource and memory leaks on the system, call memobj_close() when the memory is no longer needed. This releases all locks, mappings, and underlying memory associated with this handle, if possible (refer to the memobj_close() description for more information).
Page updated:
