summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_subsys_attr.2
blob: f69eba6564d6b3752c2c2d051c4e3f279a1b7f9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvme_get_subsys_attr" 9 "nvme_get_subsys_attr" "August 2024" "libnvme API manual" LINUX
.SH NAME
nvme_get_subsys_attr \- Read subsystem sysfs attribute
.SH SYNOPSIS
.B "char *" nvme_get_subsys_attr
.BI "(nvme_subsystem_t s "  ","
.BI "const char *attr "  ");"
.SH ARGUMENTS
.IP "s" 12
nvme_subsystem_t object
.IP "attr" 12
sysfs attribute name
.SH "RETURN"
String with the contents of \fIattr\fP or NULL in case of an empty value
or in case of an error (indicated by non-zero errno code).