ck_ht_entry_value(3)

ck_ht_entry_value3

Return pointer to value as specified in hash table entry

Usage

#include <ck_ht.h>

void *

ck_ht_entry_value(ck_ht_entry_t *entry);

Library

Concurrency Kit (libck, -lck)

Overview

The ck_ht_entry_value() function will return the value pointer as specified in the object pointed to by the entry argument.

It is expected that the entry is associated with a hash table initialized with CK_HT_MODE_BYTESTRING (see ck_ht_init(3) for more information).

Return values

The ck_ht_entry_value() function returns the value pointed to by entry.

Errors

Behavior is undefined if entry has not been initialized or if the key is empty.

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.