Reference

libnvme_path_get_ana_state-libnvme3(2)

Get ana_state.

NAME

libnvme_path_get_ana_state - Get ana_state.

SYNOPSIS

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

ARGUMENTS

p

The struct libnvme_path instance to query.

ana_state

Where to store the value on success.

dflt

Value to store in ana_state on failure.

RETURN

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