libnvme_ns_get_command_error_count(9) libnvme API manual libnvme_ns_get_command_error_count(9)

libnvme_ns_get_command_error_count - Get command_error_count.

int libnvme_ns_get_command_error_count (const struct libnvme_ns *p , long *command_error_count , long dflt );

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

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

libnvme_ns_get_command_error_count October 2026