---
name: "nvme_init_get_log_cmd_effects-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_get_log_cmd_effects-libnvme3"
---

# nvme\_init\_get\_log\_cmd\_effects-libnvme3(2)

Initialize passthru command for Commands Supported and Effects

## NAME

nvme\_init\_get\_log\_cmd\_effects - Initialize passthru command for Commands Supported and Effects

## SYNOPSIS

**void nvme\_init\_get\_log\_cmd\_effects** **(struct libnvme\_passthru\_cmd \*cmd** *,* **enum nvme\_csi csi** *,* **struct nvme\_cmd\_effects\_log \*effects\_log** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- csi

  Command Set Identifier

- effects\_log

  User address to store the effects log

## DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME\_LOG\_LID\_CMD\_EFFECTS.
