---
name: "libnvme_ctrl_set_dctype-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_ctrl_set_dctype-libnvme3"
---

# libnvme\_ctrl\_set\_dctype-libnvme3(2)

Set dctype.

## NAME

libnvme\_ctrl\_set\_dctype - Set dctype.

## SYNOPSIS

**void libnvme\_ctrl\_set\_dctype** **(struct libnvme\_ctrl \*p** *,* **const char \*dctype** *);*

## ARGUMENTS

- p

  The *struct libnvme\_ctrl* instance to update.

- dctype

  New string; a copy is stored. Pass NULL to clear.
