Reference

libnvme_ctrl_get_kxchap_ctrl_key-libnvme3(2)

Get kxchap_ctrl_key.

NAME

libnvme_ctrl_get_kxchap_ctrl_key - Get kxchap_ctrl_key.

SYNOPSIS

int libnvme_ctrl_get_kxchap_ctrl_key (const struct libnvme_ctrl *p , const char **kxchap_ctrl_key , const char *dflt );

ARGUMENTS

p

The struct libnvme_ctrl instance to query.

kxchap_ctrl_key

Where to store the value on success.

dflt

Value to store in kxchap_ctrl_key on failure.

RETURN

0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.