summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_nvm_identify_ctrl.2
blob: 0f36e266eef213ae7e7fb7d4d679fbe41cb8d5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "nvme_nvm_identify_ctrl" 9 "nvme_nvm_identify_ctrl" "July 2022" "libnvme API manual" LINUX
.SH NAME
nvme_nvm_identify_ctrl \- Identify controller data
.SH SYNOPSIS
.B "int" nvme_nvm_identify_ctrl
.BI "(int fd "  ","
.BI "struct nvme_id_ctrl_nvm *id "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "id" 12
User space destination address to transfer the data
.SH "DESCRIPTION"
Return an identify controller data structure to the host of
processing controller.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.