nvmf_get_discovery_log(2)

nvmf_get_discovery_log2

Return the discovery log page

Usage

int nvmf_get_discovery_log (nvme_ctrl_t c , struct nvmf_discovery_log **logp , int max_retries );

Arguments

c

Discovery controller to use

logp

Pointer to the log page to be returned

max_retries

Number of retries in case of failure

Overview

The memory allocated for the log page and returned in logp must be freed by the caller using free.

Note

Consider using nvmf_get_discovery_wargs instead.

Return

0 on success; on failure -1 is returned and errno is set

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From libnvme-dev 1.13-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.