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

# libnvmf\_context\_get\_ctrlkey-libnvme3(2)

Get ctrlkey.

## NAME

libnvmf\_context\_get\_ctrlkey - Get ctrlkey.

## SYNOPSIS

**const char \* libnvmf\_context\_get\_ctrlkey** **(const struct libnvmf\_context \*p** *);*

## ARGUMENTS

- p

  The *struct libnvmf\_context* instance to query.

## RETURN

The value of the ctrlkey field, or NULL if not set.
