table of contents
other versions
- experimental 3.2-1
| libnvme_get_host(2) | libnvme API manual | libnvme_get_host(2) |
NAME¶
libnvme_get_host - Returns a host object
SYNOPSIS¶
int libnvme_get_host (struct libnvme_global_ctx *ctx , const char *hostnqn , const char *hostid , struct libnvme_host **h );
ARGUMENTS¶
DESCRIPTION¶
Returns a host object based on the hostnqn/hostid values or the default if hostnqn/hostid are NULL.
RETURN¶
0 on success, negative error code otherwise.
| libnvme_get_host | October 2026 |