pub unsafe extern "C" fn nvme_get_attr(
d: *const c_char,
attr: *const c_char,
) -> *mut c_charExpand description
nvme_get_attr() - Read sysfs attribute @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).