Scroll to navigation

libnvme_sed_l0_next(2) libnvme API manual libnvme_sed_l0_next(2)

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

Level 0 Discovery data
Size of buf in bytes
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.

libnvme_sed_l0_next October 2026