Ubuntu Manpages

nvme_get_path_attr

Read path sysfs attribute

char * nvme_get_path_attr (nvme_path_t p , const char *attr );

nvme_path_t object
sysfs attribute name

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).