summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_ctrl_attr.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_get_ctrl_attr.2')
-rw-r--r--doc/man/nvme_get_ctrl_attr.215
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/man/nvme_get_ctrl_attr.2 b/doc/man/nvme_get_ctrl_attr.2
new file mode 100644
index 0000000..622fa5f
--- /dev/null
+++ b/doc/man/nvme_get_ctrl_attr.2
@@ -0,0 +1,15 @@
+.TH "nvme_get_ctrl_attr" 9 "nvme_get_ctrl_attr" "January 2023" "libnvme API manual" LINUX
+.SH NAME
+nvme_get_ctrl_attr \- Read controller sysfs attribute
+.SH SYNOPSIS
+.B "char *" nvme_get_ctrl_attr
+.BI "(nvme_ctrl_t c " ","
+.BI "const char *attr " ");"
+.SH ARGUMENTS
+.IP "c" 12
+Controller instance
+.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).