nvme_status_equals-libnvme3(2)

nvme_status_equals-libnvme32

Helper to check a status against a type and value

Usage

__u32 nvme_status_equals (int status , enum nvme_status_type type , unsigned int value );

Arguments

status

the (non-negative) return value from the NVMe API

type

the status type

value

the status value

Return

true if status is of the specified type and value

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.