nvme_status_to_errno(2)

nvme_status_to_errno2

Converts nvme return status to errno

Usage

__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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.