---
name: "evs_membership_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_membership_get"
---

# evs\_membership\_get(3)

Joins one or more groups in the EVS library

## NAME

evs\_join - Joins one or more groups in the EVS library

## SYNOPSIS

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

**int evs\_membership\_get(evs\_handle\_t** *handle***, unsigned int \****local\_nodeid***, unsigned int \****member\_list***, int \****member\_list\_entries***);**

## DESCRIPTION

The **evs\_membership\_get** function is used to determine the current processors in the configuration and also the local processor identifier. The argument *handle* is used to reference the evs instantiation. The argument *local\_nodeid* will return the local node id  of the processor. The argument *member\_list* will return the list of processors in the current membership. The argument *member\_list\_entries* should be set with the size of member\_list and will return the size of the member\_list after return from the function.

## 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\_fd\_get**(3)](/evs_fd_get/3.md), [**evs\_dispatch**(3)](/evs_dispatch/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)
