libnvmf_tid_new-libnvme32
Allocate and initialise a libnvmf_tid object.
Usage
int libnvmf_tid_new (struct libnvmf_tid **pp );
Arguments
- pp
-
On success, ``*pp`` is set to the newly allocated object.
Overview
Allocates a zeroed struct libnvmf_tid on the heap. The caller must release it with libnvmf_tid_free.
Return
0 on success, -EINVAL if pp is NULL, -ENOMEM if allocation fails.