summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_lba_status_log.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_get_lba_status_log.2')
-rw-r--r--doc/man/nvme_get_lba_status_log.218
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/man/nvme_get_lba_status_log.2 b/doc/man/nvme_get_lba_status_log.2
new file mode 100644
index 0000000..558fbaf
--- /dev/null
+++ b/doc/man/nvme_get_lba_status_log.2
@@ -0,0 +1,18 @@
+.TH "nvme_get_lba_status_log" 9 "nvme_get_lba_status_log" "April 2022" "libnvme API manual" LINUX
+.SH NAME
+nvme_get_lba_status_log \- Retreive the LBA Status log page
+.SH SYNOPSIS
+.B "int" nvme_get_lba_status_log
+.BI "(int fd " ","
+.BI "bool rae " ","
+.BI "struct nvme_lba_status_log **log " ");"
+.SH ARGUMENTS
+.IP "fd" 12
+File descriptor of the nvme device
+.IP "rae" 12
+Retain asynchronous events
+.IP "log" 12
+On success, set to the value of the allocated and retreived log.
+.SH "RETURN"
+The nvme command status if a response was received (see
+\fIenum nvme_status_field\fP) or -1 with errno set otherwise.