| 1 |
.TH "nvme_set_features_temp_thresh" 9 "nvme_set_features_temp_thresh" "November 2025" "libnvme API manual" LINUX |
| 2 |
.SH NAME |
| 3 |
nvme_set_features_temp_thresh \- Set temperature threshold feature |
| 4 |
.SH SYNOPSIS |
| 5 |
.B "int" nvme_set_features_temp_thresh |
| 6 |
.BI "(int fd " "," |
| 7 |
.BI "__u16 tmpth " "," |
| 8 |
.BI "__u8 tmpsel " "," |
| 9 |
.BI "enum nvme_feat_tmpthresh_thsel thsel " "," |
| 10 |
.BI "bool save " "," |
| 11 |
.BI "__u32 *result " ");" |
| 12 |
.SH ARGUMENTS |
| 13 |
.IP "fd" 12 |
| 14 |
File descriptor of nvme device |
| 15 |
.IP "tmpth" 12 |
| 16 |
Temperature Threshold |
| 17 |
.IP "tmpsel" 12 |
| 18 |
Threshold Temperature Select |
| 19 |
.IP "thsel" 12 |
| 20 |
Threshold Type Select |
| 21 |
.IP "save" 12 |
| 22 |
Save value across power states |
| 23 |
.IP "result" 12 |
| 24 |
The command completion result from CQE dword0 |
| 25 |
.SH "RETURN" |
| 26 |
The nvme command status if a response was received (see |
| 27 |
\fIenum nvme_status_field\fP) or -1 with errno set otherwise. |