summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_lookup_key.2
blob: 745ba3709df4f61518d9b48c03115b41e9722f9b (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" "February 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.