---
name: "nvme_mi_admin_get_log_sanitize"
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_sanitize"
---

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

Retrieve Sanitize Status

## NAME

nvme\_mi\_admin\_get\_log\_sanitize - Retrieve Sanitize Status

## SYNOPSIS

**int nvme\_mi\_admin\_get\_log\_sanitize** **(nvme\_mi\_ctrl\_t ctrl** *,* **bool rae** *,* **struct nvme\_sanitize\_log\_page \*log** *);*

## ARGUMENTS

- ctrl

  Controller to query

- rae

  Retain asynchronous events

- log

  User address to store the sanitize log

## DESCRIPTION

The Sanitize Status log page reports sanitize operation time estimates and information about the most recent sanitize operation.

## RETURN

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