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

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

Retrieve Asymmetric Namespace Access groups only log page

## NAME

nvme\_get\_log\_ana\_groups - Retrieve Asymmetric Namespace Access groups only log page

## SYNOPSIS

**int nvme\_get\_log\_ana\_groups** **(int fd** *,* **bool rae** *,* **\_\_u32 len** *,* **struct nvme\_ana\_log \*log** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- rae

  Retain asynchronous events

- len

  The allocated length of the log page

- log

  User address to store the ana group log

## DESCRIPTION

See *struct nvme\_ana\_log* for the definition of the returned structure.

## RETURN

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