cp_vector(3) - Linux man page
Name
cp_vector - a managed array type
Interface
the following is a summary of functions provided by <cprops/vector.h>.
cp_vector *cp_vector_create_by_option(int size,
int mode, cp_copy_fn copy_item, cp_destructor_fn free_item);
cp_vector *cp_vector_create(int size);
cp_vector *cp_vector_wrap(void **data, int len, int mode);
void cp_vector_destroy(cp_vector *v);
void cp_vector_destroy_custom(cp_vector *v, cp_destructor_fn dtr);
void *cp_vector_add_element(cp_vector *v, void *element);
void *cp_vector_set_element(cp_vector *v, int index, void *element);
void *cp_vector_element_at(cp_vector *v, int index);
int cp_vector_size(cp_vector *v);
Description
cp_vector is a managed array type.
For more detailed descriptions see the man pages for the individual functions.