Scroll to navigation

libnvme_get_attr(9) libnvme API manual libnvme_get_attr(9)

NAME

libnvme_get_attr - Read sysfs attribute

SYNOPSIS

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

ARGUMENTS

sysfs directory
sysfs attribute name

RETURN

String with the contents of attr or NULL in case of an empty value or error.

libnvme_get_attr July 2026