Creating a memory object handle and allocating its memory (alloc.h)

The functions defined in alloc.h enable you to create a new memory object handle and allocate required memory on the system.

Description:

To create and allocate the memory object, you must provide its required attributes via the memobj_attr structure, which is created and managed with the memobj_attr_ set of functions. After one or more memory objects are created, the attribute structure should be destroyed via a memobj_attr_destroy() call.

Page updated: