DOKK / manpages / debian 12 / libnvme-dev / nvme_host_set_pdc_enabled.2.en
nvme_host_set_pdc_enabled(2) libnvme API manual nvme_host_set_pdc_enabled(2)

nvme_host_set_pdc_enabled - Set Persistent Discovery Controller flag

void nvme_host_set_pdc_enabled (nvme_host_t h , bool enabled );

Host for which the falg should be set
The bool to set the enabled flag

When nvme_host_set_pdc_enabled is not used to set the PDC flag, nvme_host_is_pdc_enabled will return the default value which was passed into the function and not the undefined flag value.

nvme_host_set_pdc_enabled January 2023