Gets the scheduling policy of a thread.
fn sched_getattr(pid: i32, attr: &mut sched_attr, flags: u32) -> i32
The thread whose policy to get.
A place where the policy will be stored.
Unused.
sched_getattr(2)