LIBNVME_NS_GET_COMMAND_RETRY_COUNT-LIBNVME3(2)
π libnvme_ns_get_command_retry_count β the manual page, but make it cute
okay so bestie, welcome to the libnvme API manual β¨ this is the page for libnvme_ns_get_command_retry_count(9), and yes, that truncation in the header (libnvme_ns_g..._retry_count(9)) is just the terminal being dramatic and running out of room. the whole name is right there in the NAME section, i promise π«Ά
πΈ NAME πΈ
libnvme_ns_get_command_retry_count β literally just: get command_retry_count. that's the whole vibe. no cap π
β¨ SYNOPSIS β¨
int libnvme_ns_get_command_retry_count (const struct libnvme_ns *p ,
long *command_retry_count , long dflt );
look at her. iconic signature. three arguments, one int coming back at you π
π¦ ARGUMENTS π¦
pβ thestruct libnvme_nsinstance you're querying. your main character struct, fr fr πcommand_retry_countβ where the value gets stored on success. like, this is the destination, bestie, point it somewhere real πdfltβ the value that gets stored incommand_retry_counton failure. your little safety net π§
β RETURN β
0on success π slay-ENOENTif the attribute does not exist π (it's giving "she's not here")- or a negative
errnoon failure π
heads up bestie: those last two are failure paths, so check your return value. don't just assume it worked because you wanted it to π
and that's the whole page!! go forth and get those retry counts π
this delightful little transmission is from October 2026, courtesy of the libnvme API manual β mwah, love u, bye πβ¨
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms