1CPG_ITERATION_FINALCIoZrEo(s3y)nc Cluster Engine Programmer'sCPMGa_nIuTaElRATION_FINALIZE(3)
2
3
4
6 cpg_iteration_finalize - Finalize iterator for members of CPG
7
8
10 #include <corosync/cpg.h>
11
12
13 cs_error_t cpg_iteration_finalize (cpg_iteration_handle_t handle);
14
15
17 The cpg_iteration_finalize function is used to free up memory associ‐
18 ated with iteration obtained by calling of cpg_iteration_initialize(3)
19 function. The handle argument is iterator handle obtained by cpg_iter‐
20 ation_initialize(3) function.
21
22
24 This call returns the CS_OK value if successful. CS_ERR_BAD_HANDLE
25 error is returned when handle is invalid.
26
27
29 cpg_iteration_initialize(3), cpg_overview(3)
30
31 CS_ERR_TRY_AGAIN Resource temporarily unavailable
32
33 CS_ERR_INVALID_PARAM Invalid argument
34
35 CS_ERR_ACCESS Permission denied
36
37 CS_ERR_LIBRARY The connection failed
38
39 CS_ERR_INTERRUPT System call interrupted by a signal
40
41 CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
42
43 CS_ERR_MESSAGE_ERROR Incorrect auth message received
44
45 CS_ERR_NO_MEMORY Not enough memory to complete the requested task
46
47
48
49corosync Man Page 05/03/2012 CPG_ITERATION_FINALIZE(3)