nvme_get_attr - Man Page

Read sysfs attribute

Synopsis

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

Arguments

d

sysfs directory

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

February 2024 libnvme API manual