libnvmf\_params\_get(9) libnvme API manual libnvmf\_params\_get(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[params](#params)

a resolved parameter set

[key](#key)

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

# [RETURN](#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.

libnvmf\_params\_get October 2026

---

Document: libnvmf_params_get-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
