File: nvme_get_ctrl_attr.2

package info (click to toggle)
libnvme 1.13-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 7,336 kB
  • sloc: ansic: 30,501; perl: 1,834; sh: 436; python: 190; cpp: 64; makefile: 54
file content (15 lines) | stat: -rw-r--r-- 477 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvme_get_ctrl_attr" 9 "nvme_get_ctrl_attr" "April 2025" "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).