nvme_status_to_errno - Man Page

Converts nvme return status to errno

Synopsis

__u8 nvme_status_to_errno (int status , bool fabrics );

Arguments

status

Return status from an nvme passthrough command

fabrics

Set to true if status is to a fabrics target.

Return

An errno representing the nvme status if it is an nvme status field, or unchanged status is < 0 since errno is already set.

Info

August 2024 libnvme API manual