OS Manuals

libnvme_get_ns_attr-libnvme3(2)

libnvme_get_ns_attr - Read namespace sysfs attribute

libnvme_get_ns_attr(9) libnvme API manual libnvme_get_ns_attr(9)

libnvme_get_ns_attr - Read namespace sysfs attribute

char * libnvme_get_ns_attr (struct libnvme_ns *n , const char *attr );

struct libnvme_ns object
sysfs attribute name

A newly allocated string with the contents of attr (the caller frees), or NULL in case of an empty value or error.

libnvme_get_ns_attr October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31