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
8
10 #include <qb/qbarray.h>
11
12 qb_array_t* qb_array_create(
13 size_t max_elements, /* initial max elements */
14 size_t element_size /* size of each element */
15 );
16
18 max_elements initial max elements
19
20 element_size size of each element
21
24 array instance
25
27 qb_array_elems_per_bin_get(3), qb_array_new_bin_cb_set(3),
28 qb_array_grow(3), qb_array_num_bins_get(3), qb_array_index(3),
29 qb_array_create_2(3), qb_array_free(3)
30
32 Copyright (C) 2010-2020 Red Hat, Inc.
33
34
35
36LIBQB 2021-11-12 QB_ARRAY_CREATE(3)