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

# [NAME](#NAME)

libnvme\_sed\_l0\_next - Return the next Level 0 Discovery descriptor

# [SYNOPSIS](#SYNOPSIS)

**struct tcg\_l0\_desc * libnvme\_sed\_l0\_next** **(void \*buf ,** **size\_t len ,** **struct tcg\_l0\_desc \*desc );**

# [ARGUMENTS](#ARGUMENTS)

[buf](#buf)

Level 0 Discovery data

[len](#len)

Size of *buf* in bytes

[desc](#desc)

Current descriptor, or NULL to get the first descriptor

# [DESCRIPTION](#DESCRIPTION)

The walk ends at the length reported in the header or at the end of *buf*, whichever comes first. A descriptor which does not fit completely ends the walk.

# [RETURN](#RETURN)

Pointer to the next descriptor, or NULL if there is none.

libnvme\_sed\_l0\_next October 2026

---

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