memobj_wrap_attr_set_size()

Set the size of the memory object to be created

Synopsis:

#include <memobj/wrap.h>
void memobj_wrap_attr_set_size(struct memobj_wrap_attr *attr, size_t nbytes)

Arguments:

attr
The attribute structure to modify.
nbytes
The number of bytes to allocate.

Library:

libmemobj

Description:

The memobj_wrap_attr_set_size() function sets the size of the memory object to be created, in bytes.

Page updated: