nvmf_get_discovery_log - Man Page

Return the discovery log page

Synopsis

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

Description

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

Info

August 2024 libnvme API manual