ck_array_buffer(3)

ck_array_buffer3

Return length and pointer to array of reader-visible pointers

Usage

#include <ck_array.h>

void *

ck_array_buffer(ck_array_t *array, unsigned int *length);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_array_buffer(3) returns a pointer to the array of pointers currently visible to readers after the last commit operation in array. The unsigned integer pointed to by length is updated to reflect the length of the array.

Return values

This function returns a pointer to an array of pointers.

Releases

Unchanged in 5 releases since Debian 8 (Jessie).

  1. 8–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.