---
name: "CK_RHS_HASH"
section: "3"
platform: "linux"
package: "libck-dev"
version: "0.7.2-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/CK_RHS_HASH"
---

# CK\_RHS\_HASH(3)

invoke hash function with hash set seed

## NAME

**CK\_RHS\_HASH** – invoke hash function with hash set seed

## LIBRARY

Concurrency Kit (libck, -lck)

## SYNOPSIS

**#include \<ck\_rhs.h\>**

*unsigned* *long*\

**CK\_RHS\_HASH**(*ck\_rhs\_t \*hs*, *ck\_rhs\_hash\_cb\_t \*hf*, *const void \*key*);

## DESCRIPTION

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*).

## SEE ALSO

[ck\_rhs\_init(3)](/ck_rhs_init/3.md), [ck\_rhs\_destroy(3)](/ck_rhs_destroy/3.md), [ck\_rhs\_iterator\_init(3)](/ck_rhs_iterator_init/3.md), [ck\_rhs\_next(3)](/ck_rhs_next/3.md), [ck\_rhs\_get(3)](/ck_rhs_get/3.md), [ck\_rhs\_put(3)](/ck_rhs_put/3.md), [ck\_rhs\_set(3)](/ck_rhs_set/3.md), [ck\_rhs\_remove(3)](/ck_rhs_remove/3.md), [ck\_rhs\_grow(3)](/ck_rhs_grow/3.md), [ck\_rhs\_count(3)](/ck_rhs_count/3.md), [ck\_rhs\_reset(3)](/ck_rhs_reset/3.md), [ck\_rhs\_stat(3)](/ck_rhs_stat/3.md)

Additional information available at http://concurrencykit.org/
