summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ctrl_identify.2
blob: 735d509c4d7c025b054cef3ee0ad28d147054027 (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" "August 2022" "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.