summaryrefslogtreecommitdiffstats
path: root/doc/man/nvmf_get_discovery_log.2
blob: 87a3c7c446d9311494448dafe0e7f6885bcd17a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.TH "nvmf_get_discovery_log" 9 "nvmf_get_discovery_log" "August 2022" "libnvme API manual" LINUX
.SH NAME
nvmf_get_discovery_log \- Return the discovery log page
.SH SYNOPSIS
.B "int" nvmf_get_discovery_log
.BI "(nvme_ctrl_t c "  ","
.BI "struct nvmf_discovery_log **logp "  ","
.BI "int max_retries "  ");"
.SH ARGUMENTS
.IP "c" 12
Discover controller to use
.IP "logp" 12
Pointer to the log page to be returned
.IP "max_retries" 12
maximum number of log page entries to be returned
.SH "RETURN"
0 on success; on failure -1 is returned and errno is set