summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_io.2
blob: b5be195e261eeede00778a79100acf03200b6d8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvme_io" 9 "nvme_io" "January 2023" "libnvme API manual" LINUX
.SH NAME
nvme_io \- Submit an nvme user I/O command
.SH SYNOPSIS
.B "int" nvme_io
.BI "(struct nvme_io_args *args "  ","
.BI "__u8 opcode "  ");"
.SH ARGUMENTS
.IP "args" 12
\fIstruct nvme_io_args\fP argument structure
.IP "opcode" 12
Opcode to execute
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.