Skip to main content

nvme_set_features_host_behavior

Function nvme_set_features_host_behavior 

Source
pub unsafe extern "C" fn nvme_set_features_host_behavior(
    fd: c_int,
    save: bool,
    data: *mut nvme_feat_host_behavior,
) -> c_int
Expand description

nvme_set_features_host_behavior() - Set host behavior feature @fd: File descriptor of nvme device @save: Save value across power states @data: Pointer to structure nvme_feat_host_behavior

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