| 1 |
.TH "nvme_get_directive_receive_length" 9 "nvme_get_directive_receive_length" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_get_directive_receive_length \- Get directive receive length |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_get_directive_receive_length |
| 6 |
.BI "(enum nvme_directive_dtype dtype " "," |
| 7 |
.BI "enum nvme_directive_receive_doper doper " "," |
| 8 |
.BI "__u32 *len " ");" |
| 9 |
.SH ARGUMENTS |
| 10 |
.IP "dtype" 12 |
| 11 |
Directive type, see \fIenum nvme_directive_dtype\fP |
| 12 |
.IP "doper" 12 |
| 13 |
Directive receive operation, see \fIenum nvme_directive_receive_doper\fP |
| 14 |
.IP "len" 12 |
| 15 |
On success, set to this directives payload length in bytes. |
| 16 |
.SH "RETURN" |
| 17 |
0 on success, -1 with errno set to EINVAL if the function did not |
| 18 |
recognize \fIdtype\fP or \fIdoper\fP. |