---
name: "nvme_get_log_cmd_effects"
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_cmd_effects"
---

# nvme\_get\_log\_cmd\_effects(2)

Retrieve nvme command effects log

## NAME

nvme\_get\_log\_cmd\_effects - Retrieve nvme command effects log

## SYNOPSIS

**int nvme\_get\_log\_cmd\_effects** **(int fd** *,* **enum nvme\_csi csi** *,* **struct nvme\_cmd\_effects\_log \*effects\_log** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- csi

  Command Set Identifier

- effects\_log

  User address to store the effects log

## DESCRIPTION

This log page describes the commands that the controller supports and the effects of those commands on the state of the NVM subsystem.

## RETURN

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