---
name: "lxi_init"
section: "3"
platform: "linux"
package: "liblxi-dev"
version: "1.22-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/lxi_init"
---

# lxi\_init(3)

initialize LXI library

## NAME

lxi\_init - initialize LXI library

## SYNOPSIS

**#include \<lxi.h\>**

**int lxi\_init(void);**

## DESCRIPTION

The **lxi\_init()** function initializes the LXI library. This is required before calling any other available lxi functions.

## RETURN VALUE

Upon successful completion  **lxi\_init()** returns  **LXI\_OK** , or  **LXI\_ERROR** if an error occurred.

## SEE ALSO

[**lxi\_connect**(3)](/lxi_connect/3.md), [**lxi\_send**(3)](/lxi_send/3.md), [**lxi\_receive**(3)](/lxi_receive/3.md), [**lxi\_disconnect**(3)](/lxi_disconnect/3.md),
