summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_ana_log_len.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_get_ana_log_len.2')
-rw-r--r--doc/man/nvme_get_ana_log_len.215
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/man/nvme_get_ana_log_len.2 b/doc/man/nvme_get_ana_log_len.2
new file mode 100644
index 0000000..9c2efec
--- /dev/null
+++ b/doc/man/nvme_get_ana_log_len.2
@@ -0,0 +1,15 @@
+.TH "nvme_get_ana_log_len" 9 "nvme_get_ana_log_len" "April 2022" "libnvme API manual" LINUX
+.SH NAME
+nvme_get_ana_log_len \- Retreive size of the current ANA log
+.SH SYNOPSIS
+.B "int" nvme_get_ana_log_len
+.BI "(int fd " ","
+.BI "size_t *analen " ");"
+.SH ARGUMENTS
+.IP "fd" 12
+File descriptor of nvme device
+.IP "analen" 12
+Pointer to where the length will be set on success
+.SH "RETURN"
+The nvme command status if a response was received (see
+\fIenum nvme_status_field\fP) or -1 with errno set otherwise.