nvmf_get_discovery_wargs - Man Page

Get the discovery log page with args

Synopsis

struct nvmf_discovery_log * nvmf_get_discovery_wargs (struct nvme_get_discovery_args *args );

Arguments

args

Argument structure

Description

This function is similar to nvmf_get_discovery_log, but takes an extensible args parameter. args provides more options than nvmf_get_discovery_log.

This function performs a get discovery log page (DLP) command and returns the DLP. The memory allocated for the returned DLP must be freed by the caller using free.

Return

Pointer to the discovery log page (to be freed). NULL on failure and errno is set.

Info

February 2024 libnvme API manual