Scroll to navigation

libnvme_get_path_attr(2) libnvme API manual libnvme_get_path_attr(2)

NAME

libnvme_get_path_attr - Read path sysfs attribute

SYNOPSIS

char * libnvme_get_path_attr (struct libnvme_path *p , const char *attr );

ARGUMENTS

struct libnvme_path object
sysfs attribute name

RETURN

A newly allocated string with the contents of attr (the caller frees), or NULL in case of an empty value or error.

libnvme_get_path_attr October 2026