summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_get_log_persistent_event.2
blob: c1d215f99c0c5830694984b3231cc75ec1d1ec6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.TH "nvme_get_log_persistent_event" 9 "nvme_get_log_persistent_event" "August 2022" "libnvme API manual" LINUX
.SH NAME
nvme_get_log_persistent_event \- Retrieve Persistent Event Log
.SH SYNOPSIS
.B "int" nvme_get_log_persistent_event
.BI "(int fd "  ","
.BI "enum nvme_pevent_log_action action "  ","
.BI "__u32 size "  ","
.BI "void *pevent_log "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "action" 12
Action the controller should take during processing this command
.IP "size" 12
Size of \fIpevent_log\fP
.IP "pevent_log" 12
User address to store the persistent event log
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.