---
name: "nvme_host_set_pdc_enabled"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_host_set_pdc_enabled"
---

# nvme\_host\_set\_pdc\_enabled(2)

Set Persistent Discovery Controller flag

## NAME

nvme\_host\_set\_pdc\_enabled - Set Persistent Discovery Controller flag

## SYNOPSIS

**void nvme\_host\_set\_pdc\_enabled** **(nvme\_host\_t h** *,* **bool enabled** *);*

## ARGUMENTS

- h

  Host for which the falg should be set

- enabled

  The bool to set the enabled flag

## DESCRIPTION

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.
