nvme_get_ns_attr - Man Page
Read namespace sysfs attribute
Synopsis
char * nvme_get_ns_attr (nvme_ns_t n , const char *attr );
Arguments
- n
nvme_ns_t object
- attr
sysfs attribute name
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).
Info
August 2024 libnvme API manual