---
name: "libnvme_sed_l0_next-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_next-libnvme3"
---

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

Return the next Level 0 Discovery descriptor

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- buf

  Level 0 Discovery data

- len

  Size of *buf* in bytes

- desc

  Current descriptor, or NULL to get the first descriptor

## 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

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