libnvme_get_ana_log_len(9) libnvme API manual libnvme_get_ana_log_len(9)

libnvme_get_ana_log_len - Retrieve size of the current ANA log

int libnvme_get_ana_log_len (struct libnvme_transport_handle *hdl , size_t *analen );

Transport handle
Pointer to where the length will be set on success

0 on success, the nvme command status if a response was received (see enum nvme_status_field) or a negative error otherwise.

libnvme_get_ana_log_len September 2026