summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_set_features_host_behavior.2
blob: 6ce30b1ac9cc35904611880dfdc2db4786abcddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "nvme_set_features_host_behavior" 9 "nvme_set_features_host_behavior" "July 2022" "libnvme API manual" LINUX
.SH NAME
nvme_set_features_host_behavior \- Set host behavior feature
.SH SYNOPSIS
.B "int" nvme_set_features_host_behavior
.BI "(int fd "  ","
.BI "bool save "  ","
.BI "struct nvme_feat_host_behavior *data "  ");"
.SH ARGUMENTS
.IP "fd" 12
File descriptor of nvme device
.IP "save" 12
Save value across power states
.IP "data" 12
Pointer to structure nvme_feat_host_behavior
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.