1CPG_FINALIZE(3)   Corosync Cluster Engine Programmer's Manual  CPG_FINALIZE(3)
2
3
4

NAME

6       cpg_finalize - Terminate a connection to the CPG service
7

SYNOPSIS

9       #include <corosync/cpg.h>
10
11       int cpg_finalize(cpg_handle_t handle);
12

DESCRIPTION

14       The  cpg_finalize  function is used to close a connection to the closed
15       process group API.  Once the connection is finalized,  the  handle  may
16       not  be  used  again  by  applications.  No more callbacks will be dis‐
17       patched from the cpg_dispatch function.
18

RETURN VALUE

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

ERRORS

24       The errors are undocumented.
25

SEE ALSO

27       cpg_overview(8),   cpg_initialize(3),  cpg_finalize(3),  cpg_fd_get(3),
28       cpg_dispatch(3),   cpg_join(3),   cpg_leave(3),    cpg_mcast_joined(3),
29       cpg_membership_get(3)          cpg_zcb_alloc(3)         cpg_zcb_free(3)
30       cpg_zcb_mcast_joined(3)      cpg_context_get(3)      cpg_context_set(3)
31       cpg_local_get(3)
32
33
34       CS_ERR_TRY_AGAIN Resource temporarily unavailable
35
36       CS_ERR_INVALID_PARAM Invalid argument
37
38       CS_ERR_ACCESS Permission denied
39
40       CS_ERR_LIBRARY The connection failed
41
42       CS_ERR_INTERRUPT System call interrupted by a signal
43
44       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
45
46       CS_ERR_MESSAGE_ERROR Incorrect auth message received
47
48       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
49
50
51
52corosync Man Page                 2004-08-31                   CPG_FINALIZE(3)
Impressum