libnvme_path_get_ana_state(9) libnvme API manual libnvme_path_get_ana_state(9)

libnvme_path_get_ana_state - Get ana_state.

int libnvme_path_get_ana_state (const struct libnvme_path *p , const char **ana_state , const char *dflt );

The struct libnvme_path instance to query.
Where to store the value on success.
Value to store in ana_state on failure.

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

libnvme_path_get_ana_state October 2026