libnvme(2)
β¨ libnvme(2) β the API Manual, bestie edition β¨
okay so real talk, this is a page from libnvme, section 2 (aka the API Manual), and today's main character is a tiny lil enum that does exactly one job: telling nvme_get_version which version you want back. that's it. that's the whole vibe. π
πΈ NAME πΈ
enum nvme_version β the selector for the version that @nvme_get_version is gonna hand back to you. literally its entire personality. π
π¦ SYNOPSIS π¦
enum nvme_version {
NVME_VERSION_PROJECT ,
NVME_VERSION_GIT
};
look at her. two members, zero drama. π
π Constants π
so these are the two options you get to pick from, no cap:
NVME_VERSION_PROJECTβ the project release version. like, the actual shipped-and-tagged version vibe. π¦β¨NVME_VERSION_GITβ the git reference. the "what commit are we even on rn" energy. πΏ
ngl there are only two of them, so you can't really mess this up. pick the project one if you want the release, pick the git one if you want the ref. periodt. π
and that's the whole page, bestie, you ate it π«Ά β this was enum nvme_version from libnvme(2), dated July 2026, mwah, slay, bye ππ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms