---
name: "nvme_mi_admin_get_log_simple"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_mi_admin_get_log_simple"
---

# nvme\_mi\_admin\_get\_log\_simple(2)

Helper for Get Log Page functions with no NSID or RAE requirements

## NAME

nvme\_mi\_admin\_get\_log\_simple - Helper for Get Log Page functions with no NSID or RAE requirements

## SYNOPSIS

**int nvme\_mi\_admin\_get\_log\_simple** **(nvme\_mi\_ctrl\_t ctrl** *,* **enum nvme\_cmd\_get\_log\_lid lid** *,* **\_\_u32 len** *,* **void \*log** *);*

## ARGUMENTS

- ctrl

  Controller to query

- lid

  Log identifier

- len

  length of log buffer

- log

  pointer for resulting log data

## DESCRIPTION

Performs a Get Log Page Admin command for a specific log ID *lid*, using NVME\_NSID\_ALL for the namespace identifier, and rae set to false.

## RETURN

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