1QB_ARRAY_CREATE_2(3) libqb Programmer's Manual QB_ARRAY_CREATE_2(3)
2
3
4
6 qb_array_create_2 - Create an array with fixed sized elements.
7
8
10 #include <qb/qbarray.h>
11
12 qb_array_t * qb_array_create_2(
13 size_t max_elements, /* initial max elements */
14 size_t element_size, /* size of each element */
15 size_t autogrow_elements /* the number of elements to grow automatically by. */
16 );
17
19 max_elements initial max elements
20
21 element_size size of each element
22
23 autogrow_elements the number of elements to grow automatically by.
24
27 array instance
28
30 qb_array_elems_per_bin_get(3), qb_array_new_bin_cb_set(3),
31 qb_array_create(3), qb_array_grow(3), qb_array_num_bins_get(3),
32 qb_array_index(3), qb_array_free(3)
33
35 Copyright (C) 2010-2020 Red Hat, Inc.
36
37
38
39LIBQB 2022-03-23 QB_ARRAY_CREATE_2(3)