nvme_status_equals - Man Page

helper to check a status against a type and value

Synopsis

__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

Info

February 2024 libnvme API manual