nvme_io - Man Page

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.

Info

July 2022 libnvme API manual