summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_lookup_subsystem.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_lookup_subsystem.2')
-rw-r--r--doc/man/nvme_lookup_subsystem.220
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/man/nvme_lookup_subsystem.2 b/doc/man/nvme_lookup_subsystem.2
new file mode 100644
index 0000000..ef376f9
--- /dev/null
+++ b/doc/man/nvme_lookup_subsystem.2
@@ -0,0 +1,20 @@
+.TH "nvme_lookup_subsystem" 9 "nvme_lookup_subsystem" "February 2024" "libnvme API manual" LINUX
+.SH NAME
+nvme_lookup_subsystem \- Lookup nvme_subsystem_t object
+.SH SYNOPSIS
+.B "nvme_subsystem_t" nvme_lookup_subsystem
+.BI "(struct nvme_host *h " ","
+.BI "const char *name " ","
+.BI "const char *subsysnqn " ");"
+.SH ARGUMENTS
+.IP "h" 12
+\fInvme_host_t\fP object
+.IP "name" 12
+Name of the subsystem (may be NULL)
+.IP "subsysnqn" 12
+Subsystem NQN
+.SH "DESCRIPTION"
+Lookup a \fInvme_subsystem_t\fP object in \fIh\fP base on \fIname\fP (if present)
+and \fIsubsysnqn\fP or create one if not found.
+.SH "RETURN"
+nvme_subsystem_t object