Reference

libnvmf_lookup_keyring-libnvme3(2)

Lookup keyring serial number

NAME

libnvmf_lookup_keyring - Lookup keyring serial number

SYNOPSIS

int libnvmf_lookup_keyring (struct libnvme_global_ctx *ctx , const char *keyring , long *key );

ARGUMENTS

ctx

struct libnvme_global_ctx object

keyring

Keyring name

key

Key serial number to return

DESCRIPTION

Looks up the serial number of the keyring keyring.

RETURN

0 on success, negative error code otherwise.