table of contents
other versions
- experimental 3.2-1
| libnvmf_discovery_args_new(2) | libnvme API manual | libnvmf_discovery_args_new(2) |
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 | October 2026 |