libnvme_ns_get_lba_size(9)
π
libnvme_ns_get_lba_size(9) π
okay so welcome to the libnvme API manual, bestie π β this page is all about libnvme_ns_get_lba_size(9) and she is literally here to get lba_size for you β¨. No cap, that's the whole vibe.
π NAME π
libnvme_ns_get_lba_size β Get lba_size. bestie, that's the assignment π
πΈ SYNOPSIS πΈ
int libnvme_ns_get_lba_size (const struct libnvme_ns *p , int *lba_size
, int dflt );
π¦ ARGUMENTS π¦
pβ thestruct libnvme_nsinstance you're querying, periodt π.lba_sizeβ where the value gets stored on success, slay π.dfltβ the value that gets stored inlba_sizeif things fail, no drama π.
β RETURN β
0 on success π, -ENOENT if the attribute does not exist π, or a negative errno on failure π.
mwah π β with love from the libnvme API manual, dated October 2026, and your footer besties libnvme_ns_get_lba_size + libnvme_ns_get_lba_size(9) π«Ά
π¦ 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