memobj_is_wrapped()

Determine whether an object is wrapping a memory region

Synopsis:

#include <memobj/handles.h>
bool memobj_is_wrapped(const struct memobj *obj)

Arguments:

obj
A handle to a memory object.

Library:

libmemobj

Description:

The memobj_is_wrapped() function determines whether an object is wrapping a memory region.

Returns:

This function returns true if the object is wrapping an already allocated memory (i.e., the object was created using memobj_create_wrapped()).

Page updated: