---
name: "nvme_get_log_lockdown"
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_lockdown"
---

# nvme\_get\_log\_lockdown(2)

Retrieve lockdown Log

## NAME

nvme\_get\_log\_lockdown - Retrieve lockdown Log

## SYNOPSIS

**int nvme\_get\_log\_lockdown** **(int fd** *,* **\_\_u8 cnscp** *,* **struct nvme\_lockdown\_log \*lockdown\_log** *);*

## ARGUMENTS

- fd

  File descriptor of nvme device

- cnscp

  Contents and Scope of Command and Feature Identifier Lists

- lockdown\_log

  Buffer to store the lockdown log

## RETURN

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