libnvme_ctrl_get_kxchap_host_key-libnvme32
Get kxchap_host_key.
Usage
int libnvme_ctrl_get_kxchap_host_key (const struct libnvme_ctrl *p , const char **kxchap_host_key , const char *dflt );
Arguments
p
|
The struct libnvme_ctrl instance to query. |
|---|---|
kxchap_host_key
|
Where to store the value on success. |
dflt
|
Value to store in kxchap_host_key on failure. |
Return
0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.