Reference

libnvme_ns_get_csi-libnvme3(2)

Get csi.

NAME

libnvme_ns_get_csi - Get csi.

SYNOPSIS

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.