libnvme_path_get_command_retry_count(9) libnvme API manual libnvme_path_get_command_retry_count(9)

libnvme_path_get_command_retry_count - Get command_retry_count.

int libnvme_path_get_command_retry_count (const struct libnvme_path *p , long *command_retry_count , long dflt );

The struct libnvme_path 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_path_get_command_retry_count October 2026