qb_array_grow - Man Page

Grow the array.

Synopsis

#include <qb/qbarray.h>

int32_t qb_array_grow(
    qb_array_t   *a,             /* array instance */
    size_t        max_elements   /* the new maximum size of the array */
);

Params

a            array instance

max_elements the new maximum size of the array

Description

Return Value

(0 == success, else -errno)

See Also

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

Referenced By

qb_array_create(3), qb_array_create_2(3), qb_array_elems_per_bin_get(3), qb_array_free(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