cpg_iteration_finalize man page

cpg_iteration_finalize — Finalize iterator for members of CPG


#include <corosync/cpg.h>

cs_error_t cpg_iteration_finalize (cpg_iteration_handle_t handle);


The cpg_iteration_finalize function is used to free up memory asociated with iteration obtained by calling of cpg_iteration_initialize(3) function. The handle argument is iterator handle obtained by cpg_iteration_initialize(3) function.

Return Value

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

See Also

cpg_iteration_initialize(3), cpg_overview(8)

CS_ERR_TRY_AGAIN Resource temporarily unavailable

CS_ERR_INVALID_PARAM Invalid argument

CS_ERR_ACCESS Permission denied

CS_ERR_LIBRARY The connection failed

CS_ERR_INTERRUPT System call inturrupted by a signal

CS_ERR_NOT_SUPPORTED The requested protocol/functuality not supported

CS_ERR_MESSAGE_ERROR Incorrect auth message received

CS_ERR_NO_MEMORY Not enough memory to completed the requested task

Referenced By

cpg_iteration_initialize(3), cpg_overview(8).

Explore man page connections for cpg_iteration_finalize(3).

corosync Man Page Corosync Cluster Engine Programmer's Manual 05/03/2012