---
name: "nvme_get_ana_log_len"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_get_ana_log_len"
---

# nvme\_get\_ana\_log\_len(2)

Retrieve size of the current ANA log

## NAME

nvme\_get\_ana\_log\_len - Retrieve size of the current ANA log

## SYNOPSIS

**int nvme\_get\_ana\_log\_len** **(int fd** *,* **size\_t \*analen** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- analen

  Pointer to where the length will be set on success

## RETURN

The nvme command status if a response was received (see *enum nvme\_status\_field*) or -1 with errno set otherwise.
