DOKK / manpages / debian 12 / libnvme-dev / nvme_get_subsys_attr.2.en
nvme_get_subsys_attr(2) libnvme API manual nvme_get_subsys_attr(2)

nvme_get_subsys_attr - Read subsystem sysfs attribute

char * nvme_get_subsys_attr (nvme_subsystem_t s , const char *attr );

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

nvme_get_subsys_attr January 2023