libnvme_path_get_command_error_count-libnvme3(2)

libnvme_path_get_command_error_count-libnvme32

Get command_error_count.

Usage

int libnvme_path_get_command_error_count (const struct libnvme_path *p , long *command_error_count , long dflt );

Arguments

p

The struct libnvme_path instance to query.

command_error_count

Where to store the value on success.

dflt

Value to store in command_error_count on failure.

Return

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

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.