| 1 |
.TH "nvme_identify_ctrl" 9 "nvme_identify_ctrl" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_identify_ctrl \- Retrieves nvme identify controller |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_identify_ctrl |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "struct nvme_id_ctrl *id " ");" |
| 8 |
.SH ARGUMENTS |
| 9 |
.IP "fd" 12 |
| 10 |
File descriptor of nvme device |
| 11 |
.IP "id" 12 |
| 12 |
User space destination address to transfer the data, |
| 13 |
.SH "DESCRIPTION" |
| 14 |
Sends nvme identify with CNS value NVME_IDENTIFY_CNS_CTRL. |
| 15 |
|
| 16 |
See \fIstruct nvme_id_ctrl\fP for details on the data returned. |
| 17 |
.SH "RETURN" |
| 18 |
The nvme command status if a response was received (see |
| 19 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |