libnvme\_ns\_get\_csi(9) libnvme API manual libnvme\_ns\_get\_csi(9)

# [NAME](#NAME)

libnvme\_ns\_get\_csi - Get csi.

# [SYNOPSIS](#SYNOPSIS)

**int libnvme\_ns\_get\_csi** **(const struct libnvme\_ns \*p ,** **enum nvme\_csi \*csi ,** **enum nvme\_csi dflt );**

# [ARGUMENTS](#ARGUMENTS)

[p](#p)

The *struct libnvme\_ns* instance to query.

[csi](#csi)

Where to store the value on success.

[dflt](#dflt)

Value to store in *csi* on failure.

# [RETURN](#RETURN)

0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.

libnvme\_ns\_get\_csi October 2026

---

Document: libnvme_ns_get_csi-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
