nvme_status_get_type(9)
π nvme_status_get_type(9) π
okay bestie, welcome to the libnvme API manual β¨ this one's a lil baby page but she's important, so pay attention π
πΈ NAME πΈ
nvme_status_get_type β extract the type from a nvme_* return value
like, literally, that's the whole job. she takes a return value from any of the nvme_* functions and pulls the type component out of it. that's it, that's her whole personality π
π¦ SYNOPSIS π¦
__u32 nvme_status_get_type (int status );
copy it exactly, no cap, don't come for me about the spacing π
β¨ ARGUMENTS β¨
statusβ the (non-negative) return value from the NVMe API. yes, non-negative β that's a real detail, don't @ me. she wants the happy-path return value, not some negative error code situation π
π RETURN π
she gives you back the type component of the status. just the type part. the rest of the status? not her problem, not her business π«Ά
π reminder: status needs to be non-negative, bestie. read the ARGUMENTS section again if you gotta. i'll wait. π
that's the whole page!! short and iconic, honestly. main character energy from a four-section manpage π
this was the libnvme API manual, dated October 2026 β mwah, love u, go read a different manpage now ππ§
π¦ 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