| 1 |
.TH "nvmf_get_discovery_wargs" 9 "nvmf_get_discovery_wargs" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvmf_get_discovery_wargs \- Get the discovery log page with args |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "struct nvmf_discovery_log *" nvmf_get_discovery_wargs |
| 6 |
.BI "(struct nvme_get_discovery_args *args " ");" |
| 7 |
.SH ARGUMENTS |
| 8 |
.IP "args" 12 |
| 9 |
Argument structure |
| 10 |
.SH "DESCRIPTION" |
| 11 |
This function is similar to \fBnvmf_get_discovery_log\fP, but |
| 12 |
takes an extensible \fIargs\fP parameter. \fIargs\fP provides more |
| 13 |
options than \fBnvmf_get_discovery_log\fP. |
| 14 |
|
| 15 |
This function performs a get discovery log page (DLP) command |
| 16 |
and returns the DLP. The memory allocated for the returned |
| 17 |
DLP must be freed by the caller using \fBfree\fP. |
| 18 |
.SH "RETURN" |
| 19 |
Pointer to the discovery log page (to be freed). NULL |
| 20 |
on failure and errno is set. |