libnvme_ns_get_command_retry_count(9) libnvme API manual libnvme_ns_get_command_retry_count(9)

libnvme_ns_get_command_retry_count - Get command_retry_count.

int libnvme_ns_get_command_retry_count (const struct libnvme_ns *p , long *command_retry_count , long dflt );

The struct libnvme_ns instance to query.
Where to store the value on success.
Value to store in command_retry_count on failure.

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

libnvme_ns_get_command_retry_count October 2026