Reference

libnvme_ns_get_command_error_count-libnvme3(2)

Get command_error_count.

NAME

libnvme_ns_get_command_error_count - Get command_error_count.

SYNOPSIS

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

ARGUMENTS

p

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