libnvme_ctrl_get_keyring(9) libnvme API manual libnvme_ctrl_get_keyring(9)

libnvme_ctrl_get_keyring - Get keyring.

int libnvme_ctrl_get_keyring (const struct libnvme_ctrl *p , const char **keyring , const char *dflt );

The struct libnvme_ctrl instance to query.
Where to store the value on success.
Value to store in keyring on failure.

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

libnvme_ctrl_get_keyring October 2026