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

NAME

6       quorum_fd_get - Dispatches callbacks from the quorum service
7

SYNOPSIS

9       #include <corosync/quorum.h>
10
11       int quorum_fd_get(quorum_handle_t handle, int *fd);
12

DESCRIPTION

14       The quorum_fd_get function is used to retrieve the file descriptor that
15       may be used with the poll system call  to  determine  when  quorum_dis‐
16       patch(3)  won't  block.   The  handle argument may not be used directly
17       with poll because it is not the file descriptor, but instead an  inter‐
18       nal identifier used by the quorum 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       quorum_overview(3),  quorum_initialize(3),  quorum_model_initialize(3),
44       quorum_finalize(3),  quorum_getquorate(3),  quorum_trackstart(3),  quo‐
45       rum_trackstop(3),   quorum_dispatch(3),   quorum_context_set(3),   quo‐
46       rum_context_get(3)
47
48corosync Man Page                 2022-11-15                  QUORUM_FD_GET(3)
Impressum