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 when nvme_host_set_pdc_enabled has not been used to set the flag. basically it's the "if nobody told you otherwise, go with this" value πŸ’œ

🌈 RETURN 🌈

  • true if PDC is enabled for h πŸ‘‘
  • 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