int nvme_get_ana_log_len (int fd , size_t *analen );
File descriptor of nvme device
Pointer to where the length will be set on success
The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.
November 2022 libnvme API manual