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