virt_mshv_vtl/processor/
nice.rs

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4// UNSAFETY: Calling nice.
5#![expect(unsafe_code)]
6
7pub(crate) fn nice(i: i32) {
8    // SAFETY: calling as documented.
9    unsafe {
10        libc::nice(i);
11    }
12}