libnvme_get_directive_receive_length-libnvme3(2)

libnvme_get_directive_receive_length-libnvme32

Get directive receive length

Usage

int libnvme_get_directive_receive_length (enum nvme_directive_dtype dtype , enum nvme_directive_receive_doper doper , __u32 *len );

Arguments

dtype

Directive type, see enum nvme_directive_dtype

doper

Directive receive operation, see enum nvme_directive_receive_doper

len

On success, set to this directives payload length in bytes.

Return

0 on success, -1 with errno set to EINVAL if the function did not recognize dtype or doper.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.