---
name: "libnvme_strerror-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_strerror-libnvme3"
---

# libnvme\_strerror-libnvme3(2)

Returns string describing nvme errors and errno

## NAME

libnvme\_strerror - Returns string describing nvme errors and errno

## SYNOPSIS

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

## ARGUMENTS

- err

  Returned error codes from all libnvme functions

## RETURN

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