cpg_context_get(3)

cpg_context_get3

Gets the context variable for a cpg instance

Usage

#include <corosync/cpg.h>

int cpg_context_get(cpg_handle_t handle, void **context);

Overview

The cpg_context_get function is used to retrieve the context variable previously stored using cpg_context_set(3)

Return value

This call returns the CS_OK value if successful, otherwise an error is returned.

Errors

The errors are undocumented.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0–8
  3. 9
  4. 10–13

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