nvme_get_ns_attr(2)

nvme_get_ns_attr2

Read namespace sysfs attribute

Usage

char * nvme_get_ns_attr (nvme_ns_t n , const char *attr );

Arguments

n

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

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.