cp_vector_element_at(3) - Linux man page

Name

cp_vector_element_at - return the element at the given position

Synopsis

#include <cprops/vector.h>

void *cp_vector_element_at(cp_vector *vector, int index);

Description

cp_vector_element_at returns the element set at the given index. Index ranges from 0 to cp_vector_size() - 1.

Return Value

the element at the given position or NULL if no element is set or the index is out of range.

See Also

cp_vector_size(3)