summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_ns_identify.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_ns_identify.2')
-rw-r--r--doc/man/nvme_ns_identify.217
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/man/nvme_ns_identify.2 b/doc/man/nvme_ns_identify.2
new file mode 100644
index 0000000..d3fce45
--- /dev/null
+++ b/doc/man/nvme_ns_identify.2
@@ -0,0 +1,17 @@
+.TH "nvme_ns_identify" 9 "nvme_ns_identify" "February 2024" "libnvme API manual" LINUX
+.SH NAME
+nvme_ns_identify \- Issue an 'identify namespace' command
+.SH SYNOPSIS
+.B "int" nvme_ns_identify
+.BI "(nvme_ns_t n " ","
+.BI "struct nvme_id_ns *ns " ");"
+.SH ARGUMENTS
+.IP "n" 12
+Namespace instance
+.IP "ns" 12
+\fInvme_id_ns\fP buffer
+.SH "DESCRIPTION"
+Writes the data returned by the 'identify namespace' command
+into \fIns\fP.
+.SH "RETURN"
+0 on success, -1 on error.