---
name: "evs_finalize"
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_finalize"
---

# evs\_finalize(3)

Terminate a connection to the EVS service

## NAME

evs\_finalize - Terminate a connection to the EVS service

## SYNOPSIS

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

**int evs\_finalize(evs\_handle\_t** *handle***);**

## DESCRIPTION

The **evs\_finalize** function is used to close a connection to the extended virtual synchrony API. Once the connection is finalized, the handle may not be used again by applications. No more callbacks will be dispatched from the **evs\_dispatch function.**

## 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\_fd\_get**(3)](/evs_fd_get/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)
