1VOTEQUORUM_FD_GET(3C)orosync Cluster Engine Programmer's ManuVaOlTEQUORUM_FD_GET(3)
2
3
4

NAME

6       votequorum_fd_get - Dispatches callbacks from the votequorum service
7

SYNOPSIS

9       #include <corosync/votequorum.h>
10
11       int votequorum_fd_get(votequorum_handle_t handle, int *fd);
12

DESCRIPTION

14       The  votequorum_fd_get function is used to retrieve the file descriptor
15       that may be used with the poll system call to determine  when  votequo‐
16       rum_dispatch(3)  won't  block.   The  handle  argument  may not be used
17       directly with poll because it is not the file descriptor,  but  instead
18       an internal identifier used by the votequorum library.
19

RETURN VALUE

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

ERRORS

25       The errors are undocumented.
26

SEE ALSO

28       votequorum_overview(8),   votequorum_initialize(3),   votequorum_final‐
29       ize(3), votequorum_dispatch(3), votequorum_fd_get(3),
30
31corosync Man Page                 2009-01-26              VOTEQUORUM_FD_GET(3)
Impressum