| libnvmf_discovery_args_new(9) | libnvme API manual | libnvmf_discovery_args_new(9) |
NAME
libnvmf_discovery_args_new - Allocate and initialise a new instance.
SYNOPSIS
int libnvmf_discovery_args_new (struct libnvmf_discovery_args **pp );
ARGUMENTS
- pp
- On success, *pp is set to the newly allocated object.
DESCRIPTION
Allocates a zeroed struct libnvmf_discovery_args on the heap. The caller must release it with libnvmf_discovery_args_free.
RETURN
0 on success, -EINVAL if pp is NULL, -ENOMEM if allocation fails.
| libnvmf_discovery_args_new | September 2026 |