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

# nvme\_ctrl\_is\_discovery\_ctrl(2)

Check the 'discovery\_ctrl' flag

## NAME

nvme\_ctrl\_is\_discovery\_ctrl - Check the 'discovery\_ctrl' flag

## SYNOPSIS

**bool nvme\_ctrl\_is\_discovery\_ctrl** **(nvme\_ctrl\_t c** *);*

## ARGUMENTS

- c

  Controller to be checked

## DESCRIPTION

Returns the value of the 'discovery\_ctrl' flag which specifies whether *c* connects to a discovery subsystem.

## RETURN

Value of the 'discover\_ctrl' flag
