ck_ht_entry_value_direct(3) return value as specified in hash table entry

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft uintptr_t Fn ck_ht_entry_value_direct ck_ht_entry_t *entry

DESCRIPTION

The Fn ck_ht_entry_value_direct function will return the value of the key-value pair as specified in the object pointed to by the Fa entry argument.

It is expected that the entry is associated with a hash table initialized with CK_HT_MODE_DIRECT (see ck_ht_init3 for more information).

RETURN VALUES

The Fn ck_ht_entry_value_direct function returns the value stored in the object pointed to by the Fa entry argument.

ERRORS

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