nvme_io - Man Page
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.
April 2023 libnvme API manual