---
name: "libnvme_get_log-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/libnvme_get_log-libnvme3"
---

# libnvme\_get\_log-libnvme3(2)

Get log page data

## NAME

libnvme\_get\_log - Get log page data

## SYNOPSIS

**int libnvme\_get\_log** **(struct libnvme\_transport\_handle \*hdl** *,* **struct libnvme\_passthru\_cmd \*cmd** *,* **bool rae** *,* **\_\_u32 xfer\_len** *);*

## ARGUMENTS

- hdl

  Transport handle

- cmd

  Passthru command

- rae

  Retain asynchronous events

- xfer\_len

  Max log transfer size per request to split the total.

## RETURN

0 on success, the nvme command status if a response was received (see *enum nvme\_status\_field*) or a negative error otherwise.
