summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_io.2
blob: 3af5d965f7a051b172f795daeb7b1ecc6df013dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.TH "nvme_io" 9 "nvme_io" "February 2024" "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.