| 1 |
.TH "nvme_get_feature_length" 9 "nvme_get_feature_length" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_get_feature_length \- Retreive the command payload length for a specific feature identifier |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_get_feature_length |
| 6 |
.BI "(int fid " "," |
| 7 |
.BI "__u32 cdw11 " "," |
| 8 |
.BI "__u32 *len " ");" |
| 9 |
.SH ARGUMENTS |
| 10 |
.IP "fid" 12 |
| 11 |
Feature identifier, see \fIenum nvme_features_id\fP. |
| 12 |
.IP "cdw11" 12 |
| 13 |
The cdw11 value may affect the transfer (only known fid is |
| 14 |
NVME_FEAT_FID_HOST_ID) |
| 15 |
.IP "len" 12 |
| 16 |
On success, set to this features payload length in bytes. |
| 17 |
.SH "RETURN" |
| 18 |
0 on success, -1 with errno set to EINVAL if the function did not |
| 19 |
recognize \fIfid\fP. |