CK_RHS_HASH(3)

CK_RHS_HASH3

Invoke hash function with hash set seed

Usage

#include <ck_rhs.h>

unsigned long

CK_RHS_HASH(ck_rhs_t *hs, ck_rhs_hash_cb_t *hf, const void *key);

Library

Concurrency Kit (libck, -lck)

Overview

The CK_RHS_HASH(3) macro will invoke the hash function pointed to by the hf argument with the seed value associated with hs and the key pointer specified by the key argument.

Return values

This function will return the value returned by the hf function.

Errors

It is expected hs was previously initialized via ck_rhs_init(3).

Releases

Unchanged in 4 releases since Debian 9 (Stretch).

  1. 9–13

From libck-dev 0.7.2-6 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.