From 3945f3269b3e2763faa1ab22d225ca4dd1856b82 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 14 Jul 2022 20:53:09 +0200 Subject: Adding upstream version 1.0. Signed-off-by: Daniel Baumann --- doc/man/nvmf_get_discovery_log.2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/man/nvmf_get_discovery_log.2 (limited to 'doc/man/nvmf_get_discovery_log.2') diff --git a/doc/man/nvmf_get_discovery_log.2 b/doc/man/nvmf_get_discovery_log.2 new file mode 100644 index 0000000..aee9c17 --- /dev/null +++ b/doc/man/nvmf_get_discovery_log.2 @@ -0,0 +1,17 @@ +.TH "nvmf_get_discovery_log" 9 "nvmf_get_discovery_log" "April 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 -- cgit v1.2.3