libnvme\_path\_get\_command\_retry\_count(9) libnvme API manual libnvme\_path\_get\_command\_retry\_count(9)

# [NAME](#NAME)

libnvme\_path\_get\_command\_retry\_count - Get command\_retry\_count.

# [SYNOPSIS](#SYNOPSIS)

**int libnvme\_path\_get\_command\_retry\_count** **(const struct libnvme\_path \*p ,** **long \*command\_retry\_count ,** **long dflt );**

# [ARGUMENTS](#ARGUMENTS)

[p](#p)

The *struct libnvme\_path* instance to query.

[command\_retry\_count](#command_retry_count)

Where to store the value on success.

[dflt](#dflt)

Value to store in *command\_retry\_count* on failure.

# [RETURN](#RETURN)

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

libnvme\_path\_get\_command\_retry\_count October 2026

---

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