---
name: "evs_fd_get"
section: "3"
platform: "linux"
package: "corosync-dev"
version: "1.4.6-1.1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/evs_fd_get"
---

# evs\_fd\_get(3)

Dispatches callbacks from the EVS service

## NAME

evs\_fd\_get - Dispatches callbacks from the EVS service

## SYNOPSIS

**#include \<corosync/evs.h\>**

**int evs\_fd\_get(evs\_handle\_t** *handle***, int \****fd***);**

## DESCRIPTION

The **evs\_fd\_get** function is used to retrieve the file descriptor that may be used with the poll system call to determine when **[evs\_dispatch(3)](/evs_dispatch/3.md)** won't block.  The *handle* argument may not be used directly with **poll** because it is not the file descriptor, but instead an internal identifier used by the EVS library.

## RETURN VALUE

This call returns the EVS\_OK value if successful, otherwise an error is returned.

## ERRORS

The errors are undocumented.

## SEE ALSO

[**evs\_overview**(8)](/evs_overview/8.md), [**evs\_initialize**(3)](/evs_initialize/3.md), [**evs\_finalize**(3)](/evs_finalize/3.md), [**evs\_dispatch**(3)](/evs_dispatch/3.md), [**evs\_join**(3)](/evs_join/3.md), [**evs\_leave**(3)](/evs_leave/3.md), [**evs\_mcast\_joined**(3)](/evs_mcast_joined/3.md), [**evs\_mcast\_groups**(3)](/evs_mcast_groups/3.md), [**evs\_membership\_get**(3)](/evs_membership_get/3.md) [**evs\_context\_get**(3)](/evs_context_get/3.md) [**evs\_context\_set**(3)](/evs_context_set/3.md)
