---
name: "nvme_io"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_io"
---

# nvme\_io(2)

Submit an nvme user I/O command

## NAME

nvme\_io - Submit an nvme user I/O command

## SYNOPSIS

**int nvme\_io** **(struct nvme\_io\_args \*args** *,* **\_\_u8 opcode** *);*

## ARGUMENTS

- args

  *struct nvme\_io\_args* argument structure

- opcode

  Opcode to execute

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
