Debian Codegraph @

doc/man/nvme_set_features_endurance_evt_cfg.2

raw
1 .TH "nvme_set_features_endurance_evt_cfg" 9 "nvme_set_features_endurance_evt_cfg" "November 2025" "libnvme API manual" LINUX
2 .SH NAME
3 nvme_set_features_endurance_evt_cfg \- Set endurance event config feature
4 .SH SYNOPSIS
5 .B "int" nvme_set_features_endurance_evt_cfg
6 .BI "(int fd " ","
7 .BI "__u16 endgid " ","
8 .BI "__u8 egwarn " ","
9 .BI "bool save " ","
10 .BI "__u32 *result " ");"
11 .SH ARGUMENTS
12 .IP "fd" 12
13 File descriptor of nvme device
14 .IP "endgid" 12
15 Endurance Group Identifier
16 .IP "egwarn" 12
17 Flags to enable warning, see \fIenum nvme_eg_critical_warning_flags\fP
18 .IP "save" 12
19 Save value across power states
20 .IP "result" 12
21 The command completion result from CQE dword0
22 .SH "RETURN"
23 The nvme command status if a response was received (see
24 \fIenum nvme_status_field\fP) or -1 with errno set otherwise.