ck_ht_entry_key3
Return pointer to key as specified in hash table entry
Usage
#include <ck_ht.h>
void *
ck_ht_entry_key(ck_ht_entry_t *entry);
Library
Concurrency Kit (libck, -lck)
Overview
The ck_ht_entry_key() function will return the key 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
ck_ht_entry_key() returns NULL if the entry is empty.
Errors
Behavior is undefined if entry has not been initialized.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).