| 1 |
.TH "nvme_get_features_host_id" 9 "nvme_get_features_host_id" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_get_features_host_id \- Get host id feature |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_get_features_host_id |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "enum nvme_get_features_sel sel " "," |
| 8 |
.BI "bool exhid " "," |
| 9 |
.BI "__u32 len " "," |
| 10 |
.BI "__u8 *hostid " ");" |
| 11 |
.SH ARGUMENTS |
| 12 |
.IP "fd" 12 |
| 13 |
File descriptor of nvme device |
| 14 |
.IP "sel" 12 |
| 15 |
Select which type of attribute to return, see \fIenum nvme_get_features_sel\fP |
| 16 |
.IP "exhid" 12 |
| 17 |
Enable Extended Host Identifier |
| 18 |
.IP "len" 12 |
| 19 |
Length of \fIhostid\fP |
| 20 |
.IP "hostid" 12 |
| 21 |
Buffer for returned host ID |
| 22 |
.SH "RETURN" |
| 23 |
The nvme command status if a response was received (see |
| 24 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |