Returns the niceness of a user.
fn user_niceness(id: u32) -> Result<u8, Errno>
The user to inspect, or 0 for the real user id of this thread.
0
The niceness is a value between 1 and 40, with higher values meaning more favorable scheduling.
getpriority(2)