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 CPG_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
34corosync Man Page                 2004-08-31                   CPG_FINALIZE(3)
Impressum