nvme_get_ns_attr - Read namespace sysfs attribute
Contents
Arguments
n nvme_ns_t object
attr sysfs attribute name
Name
nvme_get_ns_attr - Read namespace sysfs attribute
Return
String with the contents of attr or NULL in case of an empty value or in case of an error (indicated by
non-zero errno code).
August 2025 nvme_get_ns_attr nvme_get_ns_attr(2)
Synopsis
char*nvme_get_ns_attr(nvme_ns_tn,constchar*attr);
