1CPG_FD_GET(3)             Openais Programmer's Manual            CPG_FD_GET(3)
2
3
4

NAME

6       cpg_fd_get - Dispatches callbacks from the CPG service
7

SYNOPSIS

9       #include <openais/cpg.h>
10
11       int cpg_fd_get(cpg_handle_t handle, int *fd);
12

DESCRIPTION

14       The  cpg_fd_get  function  is used to retrieve the file descriptor that
15       may be used with the poll system call to determine when cpg_dispatch(3)
16       won't  block.   The  handle argument may not be used directly with poll
17       because it is not the file descriptor, but instead an internal  identiā€
18       fier used by the CPG library.
19

RETURN VALUE

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

ERRORS

25       The errors are undocumented.
26

SEE ALSO

28       cpg_overview(8), cpg_initialize(3),  cpg_finalize(3),  cpg_dispatch(3),
29       cpg_join(3), cpg_leave(3), cpg_mcast_joined(3), cpg_membership_get(3)
30
31openais Man Page                  2004-08-31                     CPG_FD_GET(3)
Impressum