---
name: "nvme_get_log_endurance_grp_evt"
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_endurance_grp_evt"
---

# nvme\_get\_log\_endurance\_grp\_evt(2)

Retrieve Rotational Media Information

## NAME

nvme\_get\_log\_endurance\_grp\_evt - Retrieve Rotational Media Information

## SYNOPSIS

**int nvme\_get\_log\_endurance\_grp\_evt** **(int fd** *,* **bool rae** *,* **\_\_u32 offset** *,* **\_\_u32 len** *,* **void \*log** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- rae

  Retain asynchronous events

- offset

  Offset to the start of the log page

- len

  The allocated length of the log page

- log

  User address to store the log page

## RETURN

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