---
name: "nvme_get_log_rotational_media_info"
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_rotational_media_info"
---

# nvme\_get\_log\_rotational\_media\_info(2)

Retrieve Rotational Media Information Log

## NAME

nvme\_get\_log\_rotational\_media\_info - Retrieve Rotational Media Information Log

## SYNOPSIS

**int nvme\_get\_log\_rotational\_media\_info** **(int fd** *,* **\_\_u16 endgid** *,* **\_\_u32 len** *,* **struct nvme\_rotational\_media\_info\_log \*log** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- endgid

  Endurance Group Identifier

- 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
