Ubuntu Manpages

nvme_get_attr

Read sysfs attribute

char * nvme_get_attr (const char *d , const char *attr );

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