lxi\_disconnect(3) C Library Functions lxi\_disconnect(3)

# [NAME](#NAME)

lxi\_disconnect - disconnect a LXI connection

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;lxi.h&gt;**

**int lxi\_disconnect(int device);**

# [DESCRIPTION](#DESCRIPTION)

The **lxi\_disconnect()** function disconnects an existing LXI connection handle pointed to by *device*

# [RETURN VALUE](#RETURN_VALUE)

Upon successful completion **lxi\_disconnect()** returns **LXI\_OK** , else **LXI\_ERROR** is returned if an error occurred.

# [SEE ALSO](#SEE_ALSO)

[**lxi\_send**(3)](/man/enterprise-packages/liblxi/lxi_send.3), [**lxi\_receive**(3)](/man/enterprise-packages/liblxi/lxi_receive.3), [**lxi\_disconnect**(3)](/man/enterprise-packages/liblxi/lxi_disconnect.3),

2024-11-08 liblxi 1.22

---

Document: lxi_disconnect(3) from liblxi 1.22-r4 (Chainguard OS)
Source: https://github.com/lxi-tools/liblxi
