1CK_ARRAY_BUFFER(3)       BSD Library Functions Manual       CK_ARRAY_BUFFER(3)
2

NAME

4     ck_array_buffer — return length and pointer to array of reader-visible
5     pointers
6

LIBRARY

8     Concurrency Kit (libck, -lck)
9

SYNOPSIS

11     #include <ck_array.h>
12
13     void *
14     ck_array_buffer(ck_array_t *array, unsigned int *length);
15

DESCRIPTION

17     The ck_array_buffer(3) returns a pointer to the array of pointers cur‐
18     rently visible to readers after the last commit operation in array.  The
19     unsigned integer pointed to by length is updated to reflect the length of
20     the array.
21

RETURN VALUES

23     This function returns a pointer to an array of pointers.
24

SEE ALSO

26     ck_array_commit(3), ck_array_put(3), ck_array_put_unique(3),
27     ck_array_remove(3), ck_array_init(3) ck_array_deinit(3),
28     ck_array_length(3), ck_array_initialized(3), CK_ARRAY_FOREACH(3)
29
30     Additional information available at http://concurrencykit.org/
31
32                               October 18, 2013
Impressum