nvme_get_path_attr - Man Page

Read path sysfs attribute

Synopsis

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

Arguments

p

nvme_path_t object

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

August 2024 libnvme API manual