cmap_iter_finalize(3)

cmap_iter_finalize3

Finalize iterator for keys stored in cmap

Usage

#include <corosync/cmap.h>

cs_error_t cmap_iter_finalize (cmap_handle_t handle, cmap_iter_handle_t iter_handle);

Overview

The cmap_iter_finalize function is used to free up memory associated with iteration obtained by calling of cmap_iter_init(3) function. The handle argument is connection to CMAP database obtained by calling cmap_initialize(3) function. iter_handle argument is iterator handle obtained by cmap_iter_init(3) function.

Return value

This call returns the CS_OK value if successful. CS_ERR_BAD_HANDLE error is returned when iter_handle is invalid.

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9
  2. 10–13

From libcmap-dev 3.1.9-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.