Reference

libnvme_ctrl_get_command_error_count-libnvme3(2)

Get command_error_count.

NAME

libnvme_ctrl_get_command_error_count - Get command_error_count.

SYNOPSIS

int libnvme_ctrl_get_command_error_count (const struct libnvme_ctrl *p , long *command_error_count , long dflt );

ARGUMENTS

p

The struct libnvme_ctrl 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.