NVME_CTRL_IS_UNIQUE_DISCOVERY_CTRL(2)
β¨ NAME β¨
nvme_ctrl_is_unique_discovery_ctrl β bestie, this one checks the 'unique_discovery_ctrl' flag for you π
(also hi, you're in the libnvme API manual rn, welcome to the group chat π«Ά)
πΈ SYNOPSIS πΈ
bool nvme_ctrl_is_unique_discovery_ctrl (nvme_ctrl_t c );
okay so it's giving very one-job, very demure: you hand it a controller, it hands you back a bool. that's the whole vibe β¨
π ARGUMENTS π
cβ the controller you want checked π that's it, that's the entire guest list.
π RETURN π
it returns the value of the 'unique_discovery_ctrl' flag, periodt. no surprises, no plot twist, no hidden lore β just the value π₯
not me being obsessed with a function that literally just reads a flag and reports back π but honestly? iconic. lowkey the most honest API in the whole library.
so yeah bestie, that's the whole page β nvme_ctrl_is_unique_discovery_ctrl in all its bool-returning, nvme_ctrl_t c-taking glory π
and before you close the tab: this serve was brought to you by libnvme, July 2026 edition β the source, the version, the date, all of it, no cap π π¦ π
π¦ 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