1QB_ARRAY_CREATE(3) libqb Programmer's Manual QB_ARRAY_CREATE(3)
2
3
4
6 qb_array_create - Create an array with fixed sized elements.
7
9 #include <qb/qbarray.h>
10
11 qb_array_t* qb_array_create(
12 size_t max_elements,
13 size_t element_size
14 );
15
17 max_elements initial max elements
18
19 element_size size of each element
20
23 array instance
24
26 qb_array_elems_per_bin_get(3), qb_array_new_bin_cb_set(3),
27 qb_array_grow(3), qb_array_num_bins_get(3), qb_array_index(3),
28 qb_array_create_2(3), qb_array_free(3)
29
31 Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
32
33
34
35LIBQB 2020-07-30 QB_ARRAY_CREATE(3)