summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_lookup_key.2
blob: 00c218ab10a48c637c9f78d03a29c62df00c95e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "nvme_lookup_key" 9 "nvme_lookup_key" "May 2024" "libnvme API manual" LINUX
.SH NAME
nvme_lookup_key \- Lookup key serial number
.SH SYNOPSIS
.B "long" nvme_lookup_key
.BI "(const char *type "  ","
.BI "const char *identity "  ");"
.SH ARGUMENTS
.IP "type" 12
Key type
.IP "identity" 12
Key description
.SH "DESCRIPTION"
Looks up the serial number of the key \fIidentity\fP
with type type in the current session keyring.
.SH "RETURN"
The key serial number of the key
or 0 with errno set otherwise.