OS Manuals

libnvmf_lookup_key-libnvme3(2)

libnvmf_lookup_key - Lookup key serial number

libnvmf_lookup_key(9) libnvme API manual libnvmf_lookup_key(9)

libnvmf_lookup_key - Lookup key serial number

int libnvmf_lookup_key (struct libnvme_global_ctx *ctx , const char *type , const char *identity , long *key );

struct libnvme_global_ctx object
Key type
Key description
Key serial number to return

Looks up the serial number of the key identity with type type in the current session keyring.

0 on success, negative error code otherwise.

libnvmf_lookup_key October 2026

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