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       CS_ERR_TRY_AGAIN Resource temporarily unavailable
26
27       CS_ERR_INVALID_PARAM Invalid argument
28
29       CS_ERR_ACCESS Permission denied
30
31       CS_ERR_LIBRARY The connection failed
32
33       CS_ERR_INTERRUPT System call interrupted by a signal
34
35       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
36
37       CS_ERR_MESSAGE_ERROR Incorrect auth message received
38
39       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
40
41

SEE ALSO

43       votequorum_overview(3),   votequorum_initialize(3),   votequorum_final‐
44       ize(3),   votequorum_getinfo(3),   votequorum_trackstart(3),   votequo‐
45       rum_trackstop(3),  votequorum_dispatch(3),   votequorum_context_set(3),
46       votequorum_context_get(3),      votequorum_setexpected(3),     votequo‐
47       rum_setvotes(3)
48
49corosync Man Page                 2019-01-15              VOTEQUORUM_FD_GET(3)
Impressum