libnvme\_strerror(9) libnvme API manual libnvme\_strerror(9)

# [NAME](#NAME)

libnvme\_strerror - Returns string describing nvme errors and errno

# [SYNOPSIS](#SYNOPSIS)

**const char * libnvme\_strerror** **(int err );**

# [ARGUMENTS](#ARGUMENTS)

[err](#err)

Returned error codes from all libnvme functions

# [RETURN](#RETURN)

String representation of either the nvme connect error codes (positive values) or errno string (negative values)

libnvme\_strerror September 2026

---

Document: libnvme_strerror-libnvme3(2) from nvme-cli 3.1-r1 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
