memobj_attr_set_size()
Set the size of a memory object
Synopsis:
#include <memobj/alloc.h>
void memobj_attr_set_size(struct memobj_attr *attr, size_t nbytes)
Arguments:
- attr
- The attribute structure to modify.
- nbytes
- The number of bytes to allocate.
Library:
libmemobjDescription:
The memobj_attr_set_size() function sets the size of the memory object to be created, in bytes.
Page updated:
