ck_ht_iterator_init(3)

ck_ht_iterator_init3

Initialize hash table iterator

Usage

#include <ck_ht.h>

ck_ht_iterator_t iterator = CK_HT_ITERATOR_INITIALIZER

void

ck_ht_iterator_init(ck_ht_iterator_t *iterator);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_ht_iterator_init() function will initialize the object pointed to by the iterator argument. Alternatively, an iterator may be statically initialized by assigning it the CK_HT_ITERATOR_INITIALIZER value.

An iterator is used to iterate through hash table entries with the ck_ht_next(3) function.

Return values

The ck_ht_iterator_init() function does not return a value.

Errors

This function will not fail.

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.