summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ctrl_identify.2
blob: d2e37ebba0d46163b8c0d8171d99f76c09af9d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.TH "nvme_ctrl_identify" 9 "nvme_ctrl_identify" "January 2023" "libnvme API manual" LINUX
.SH NAME
nvme_ctrl_identify \- Issues an 'identify controller' command
.SH SYNOPSIS
.B "int" nvme_ctrl_identify
.BI "(nvme_ctrl_t c "  ","
.BI "struct nvme_id_ctrl *id "  ");"
.SH ARGUMENTS
.IP "c" 12
Controller instance
.IP "id" 12
Identify controller data structure
.SH "DESCRIPTION"
Issues an 'identify controller' command to \fIc\fP and copies the
data into \fIid\fP.
.SH "RETURN"
0 on success or -1 on failure.