DOKK / manpages / debian 12 / libnvme-dev / nvme_io.2.en
nvme_io(2) libnvme API manual nvme_io(2)

nvme_io - Submit an nvme user I/O command

int nvme_io (struct nvme_io_args *args , __u8 opcode );

struct nvme_io_args argument structure
Opcode to execute

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

nvme_io January 2023