---
name: "nvme_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_get_log_sanitize"
---

# nvme\_get\_log\_sanitize(2)

Retrieve Sanitize Status

## NAME

nvme\_get\_log\_sanitize - Retrieve Sanitize Status

## SYNOPSIS

**int nvme\_get\_log\_sanitize** **(int fd** *,* **bool rae** *,* **struct nvme\_sanitize\_log\_page \*log** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- 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.
