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

# ck\_bitmap\_iterator\_init(3)

initialize bitmap iterator

## NAME

**ck\_bitmap\_iterator\_init** – initialize bitmap iterator

## LIBRARY

Concurrency Kit (libck, -lck)

## SYNOPSIS

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

*void*\

**ck\_bitmap\_iterator\_init**(*ck\_bitmap\_iterator\_t \*iterator*, *ck\_bitmap\_t \*bitmap*);

## DESCRIPTION

The **ck\_bitmap\_iterator\_init**() function will initialize the object pointed to by the *iterator* argument for use with *bitmap*.

An iterator is used to iterate through set bitmap bits with the [ck\_bitmap\_next(3)](/ck_bitmap_next/3.md) function.

## RETURN VALUES

The **ck\_bitmap\_iterator\_init**() function does not return a value.

## ERRORS

This function will not fail.

## SEE ALSO

[ck\_bitmap\_base(3)](/ck_bitmap_base/3.md), [ck\_bitmap\_size(3)](/ck_bitmap_size/3.md), [ck\_bitmap\_init(3)](/ck_bitmap_init/3.md), [ck\_bitmap\_set(3)](/ck_bitmap_set/3.md), [ck\_bitmap\_reset(3)](/ck_bitmap_reset/3.md), [ck\_bitmap\_clear(3)](/ck_bitmap_clear/3.md), [ck\_bitmap\_bits(3)](/ck_bitmap_bits/3.md), [ck\_bitmap\_buffer(3)](/ck_bitmap_buffer/3.md), [ck\_bitmap\_next(3)](/ck_bitmap_next/3.md)

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