---
name: "xpaclose"
section: "3"
platform: "linux"
package: "libxpa-dev"
version: "2.1.20-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/xpaclose"
---

# xpaclose(3)

close a persistent XPA client handle

## NAME

**XPAClose - close a persistent XPA client handle**

## SYNOPSIS

```
  #include <xpa.h>
  void XPAClose(XPA xpa);
```

## DESCRIPTION

XPAClose closes the persistent connections associated with this XPA struct and frees all allocated space. It also closes the open sockets connections to all XPA servers that were opened using this handle.

**Example:**

```
  #include <xpa.h>
  XPA xpa;
  XPAClose(xpa);
```

## SEE ALSO

See xpa(n) for a list of XPA help pages
