OS Manuals

libnvmf_discovery_args_new-libnvme3(2)

libnvmf_discovery_args_new - Allocate and initialise a new instance.

libnvmf_discovery_args_new(9) libnvme API manual libnvmf_discovery_args_new(9)

libnvmf_discovery_args_new - Allocate and initialise a new instance.

int libnvmf_discovery_args_new (struct libnvmf_discovery_args **pp );

On success, ``*pp`` is set to the newly allocated object.

Allocates a zeroed struct libnvmf_discovery_args on the heap. The caller must release it with libnvmf_discovery_args_free.

0 on success, -EINVAL if pp is NULL, -ENOMEM if allocation fails.

libnvmf_discovery_args_new October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31