libnvme_ns_get_csi-libnvme3(2)

libnvme_ns_get_csi-libnvme32

Get csi.

Usage

int libnvme_ns_get_csi (const struct libnvme_ns *p , enum nvme_csi *csi , enum nvme_csi dflt );

Arguments

p

The struct libnvme_ns instance to query.

csi

Where to store the value on success.

dflt

Value to store in csi on failure.

Return

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

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.