Reference

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.