DOKK / manpages / debian 12 / libnvme-dev / nvme_set_features_host_behavior.2.en
nvme_set_features_host_behavior(2) libnvme API manual nvme_set_features_host_behavior(2)

nvme_set_features_host_behavior - Set host behavior feature

int nvme_set_features_host_behavior (int fd , bool save , struct nvme_feat_host_behavior *data );

File descriptor of nvme device
Save value across power states
Pointer to structure nvme_feat_host_behavior

The nvme command status if a response was received (see enum nvme_status_field) or -1 with errno set otherwise.

nvme_set_features_host_behavior January 2023