nvme_get_attr2
Read sysfs attribute
Usage
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).
Releases
2 releases since Debian 12 (Bookworm); the text changed 1 time.