libnvme\_get\_ana\_log\_len(9) libnvme API manual libnvme\_get\_ana\_log\_len(9)

# [NAME](#NAME)

libnvme\_get\_ana\_log\_len - Retrieve size of the current ANA log

# [SYNOPSIS](#SYNOPSIS)

**int libnvme\_get\_ana\_log\_len** **(struct libnvme\_transport\_handle \*hdl ,** **size\_t \*analen );**

# [ARGUMENTS](#ARGUMENTS)

[hdl](#hdl)

Transport handle

[analen](#analen)

Pointer to where the length will be set on success

# [RETURN](#RETURN)

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

---

Document: libnvme_get_ana_log_len-libnvme3(2) from nvme-cli 3.1-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
