---
name: "libnvme_sed_l0_find-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_sed_l0_find-libnvme3"
---

# libnvme\_sed\_l0\_find-libnvme3(2)

Find a Level 0 Discovery descriptor

## NAME

libnvme\_sed\_l0\_find - Find a Level 0 Discovery descriptor

## SYNOPSIS

**struct tcg\_l0\_desc \* libnvme\_sed\_l0\_find** **(void \*buf** *,* **size\_t len** *,* **\_\_u16 code** *);*

## ARGUMENTS

- buf

  Level 0 Discovery data

- len

  Size of *buf* in bytes

- code

  Feature code, see *enum tcg\_l0\_code*

## RETURN

Pointer to the first descriptor with feature code *code*, or NULL if there is none.
