libnvme(9)
π NAME
okay so welcome to the libnvme(9) API Manual, bestie β this page is short, sweet, and lowkey iconic. Itβs all about enum nvme_vs, and the vibe is literally: This field indicates the version. Thatβs the whole assignment. π
β¨ SYNOPSIS β¨
Hereβs the enum exactly as it appears, no edits, no cap:
enum nvme_vs {
NVME_VS_TER_SHIFT ,
NVME_VS_MNR_SHIFT ,
NVME_VS_MJR_SHIFT ,
NVME_VS_TER_MASK ,
NVME_VS_MNR_MASK ,
NVME_VS_MJR_MASK
};
π Constants π
These six constants are the whole cast, and they each have exactly one job. Slay:
NVME_VS_TER_SHIFTβ shift amount to get the tertiary version. periodt.NVME_VS_MNR_SHIFTβ shift amount to get the minor version. obsessed.NVME_VS_MJR_SHIFTβ shift amount to get the major version. main character energy.NVME_VS_TER_MASKβ mask to get the tertiary version. itβs giving useful.NVME_VS_MNR_MASKβ mask to get the minor version. no notes.NVME_VS_MJR_MASKβ mask to get the major version. ate, honestly.
This iconic little page is from the libnvme(9) API Manual, October 2026, and itβs all about enum nvme_vs β bye bestie, stay hydrated πβ¨
π¦ 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