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

nvme_compare - Submit an nvme user compare command

int nvme_compare (struct nvme_io_args *args );

struct nvme_io_args argument structure

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

nvme_compare January 2023