obj_verify function <BLOC/object.h>

The obj_verify function verifies if a pointer points to a valid object. A pointer is deemed to be valid if it points to a data structure that is managed by the library's object implementation.

Syntax

int
obj_verify(
	void *addr
);

Parameters

addr

The address of the object.

Return value

A integer value indicating whether the passed pointer points to a valid object: