OS Manuals

libnvmf_registry_retrieve-libnvme3(2)

libnvmf_registry_retrieve - Read an attribute from a controller's registry entry

libnvmf_registry_retrieve(9) libnvme API manual libnvmf_registry_retrieve(9)

libnvmf_registry_retrieve - Read an attribute from a controller's registry entry

int libnvmf_registry_retrieve (struct libnvme_global_ctx *ctx , const char *device , const char *attr , char **value );

libnvme global context; must not be NULL
Kernel device name (e.g. "nvme3")
Attribute name to retrieve (e.g. "owner")
On success, set to a newly allocated string with the attribute value. The caller must free this string.

0 on success, -ENOENT if the controller is not registered or the attribute is not present, -ENOMEM on allocation failure, negative errno from underlying system calls otherwise.

libnvmf_registry_retrieve October 2026

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