nvme_host_is_pdc_enabled(2)
π nvme_host_is_pdc_enabled(2) π
okay bestie, so this is one of those little libnvme API manual pages β yes, that libnvme API manual β and today's main character is nvme_host_is_pdc_enabled. it does exactly one (1) job and it does it flawlessly, no cap. π
β¨ NAME β¨
nvme_host_is_pdc_enabled β Is Persistenct Discovery Controller enabled
not me pointing out that "Persistenct" is spelled exactly like that in the original header π we keep the lore intact, bestie, typos and all π«Ά
πΈ SYNOPSIS πΈ
bool nvme_host_is_pdc_enabled (nvme_host_t h , bool fallback );
like, look at her. one call, two args, returns a bool. she's giving minimalism, she's giving efficiency, she's giving iconic. β¨
π ARGUMENTS π
hβ the Host you wanna check, i.e. the one we're asking "hey girl, is PDC enabled over here?" π¦fallbackβ the fallback default value of the flag, used whennvme_host_set_pdc_enabledhas not been used to set the flag. basically it's the "if nobody told you otherwise, go with this" value π
π RETURN π
trueif PDC is enabled forhπ- otherwise
falseπ
that's it. that's the whole page. short queen behavior fr fr. β¨π
libnvme API manual, dated July 2026 β mwah, tysm for reading bestie, go enable some things (or don't, that's literally the whole point of this function) ππ¦π
π¦ 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