---
name: "libnvmf_params_get-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_params_get-libnvme3"
---

# libnvmf\_params\_get-libnvme3(2)

look up one connection parameter.

## NAME

libnvmf\_params\_get - look up one connection parameter.

## SYNOPSIS

**const char \* libnvmf\_params\_get** **(const struct libnvmf\_params \*params** *,* **const char \*key** *);*

## ARGUMENTS

- params

  a resolved parameter set

- key

  the configuration key name (the "nvme connect" long-option name, e.g. "ctrl-loss-tmo")

## RETURN

NULL when *key* is unset (the kernel default applies), the empty string for an explicit reset to the kernel default, the value string otherwise.  Borrowed; valid while the owning configuration is alive.
