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