libnvme\_sed\_l0\_find(9) libnvme API manual libnvme\_sed\_l0\_find(9)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

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

# [ARGUMENTS](#ARGUMENTS)

[buf](#buf)

Level 0 Discovery data

[len](#len)

Size of *buf* in bytes

[code](#code)

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

# [RETURN](#RETURN)

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

libnvme\_sed\_l0\_find October 2026

---

Document: libnvme_sed_l0_find-libnvme3(2) from nvme-cli 3.2-r0 (Chainguard OS)
Source: https://github.com/linux-nvme/nvme-cli
