ck_ht_entry_key_length(3) returns the length of the key specified in the argument

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft uint16_t Fn ck_ht_entry_key_length ck_ht_entry_t *entry

DESCRIPTION

The Fn ck_ht_entry_key_length function will return the length of the key associated with 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_BYTESTRING (see ck_ht_init3 for more information).

RETURN VALUES

Fn ck_ht_entry_key_length returns 0 if the entry is empty.

ERRORS

Behavior is undefined if Fa entry has not been initialized.