memobj_attr_create()

Create a structure to contain attributes for memobj_create()

Synopsis:

#include <memobj/alloc.h>
errno_t memobj_attr_create(struct memobj_attr **attr_out)

Arguments:

attr_out
A pointer to a location where this function, on success, stores an opaque pointer that can be used for future memobj_attr_ calls.

Library:

libmemobj

Description:

The memobj_attr_create() function creates a structure to contain attributes for memobj_create().

Returns:

EOK
Success; *attr_out was filled.
ENOMEM
There isn't enough memory.
Page updated: