.TH "libnvme_ns_get_command_error_count" 9 "libnvme_ns_get_command_error_count" "October 2026" "libnvme API manual" LINUX .SH NAME libnvme_ns_get_command_error_count \- Get command_error_count. .SH SYNOPSIS .B "int" libnvme_ns_get_command_error_count .BI "(const struct libnvme_ns *p " "," .BI "long *command_error_count " "," .BI "long dflt " ");" .SH ARGUMENTS .IP "p" 12 The \fIstruct libnvme_ns\fP instance to query. .IP "command_error_count" 12 Where to store the value on success. .IP "dflt" 12 Value to store in \fIcommand_error_count\fP on failure. .SH "RETURN" 0 on success, -ENOENT if the attribute does not exist, or a negative errno on failure.