qb_array_create_2 - Man Page

Create an array with fixed sized elements.

Synopsis

#include <qb/qbarray.h>

qb_array_t * qb_array_create_2(
    size_t  max_elements,       /* initial max elements */
    size_t  element_size,       /* size of each element */
    size_t  autogrow_elements   /* the number of elements to grow automatically by. */
);

Params

max_elements      initial max elements

element_size      size of each element

autogrow_elements the number of elements to grow automatically by.

Description

Return Value

array instance

See Also

qb_array_elems_per_bin_get(3), qb_array_new_bin_cb_set(3), qb_array_create(3), qb_array_grow(3), qb_array_num_bins_get(3), qb_array_index(3), qb_array_free(3)

Referenced By

qb_array_create(3), qb_array_elems_per_bin_get(3), qb_array_free(3), qb_array_grow(3), qbarray.h(3), qb_array_index(3), qb_array_new_bin_cb_set(3), qb_array_num_bins_get(3).

2023-07-21 libqb Programmer's Manual