(uid: Uid)
| 126 | |
| 127 | #[inline] |
| 128 | pub(crate) fn getpriority_user(uid: Uid) -> io::Result<i32> { |
| 129 | unsafe { |
| 130 | Ok(20 |
| 131 | - ret_c_int(syscall_readonly!( |
| 132 | __NR_getpriority, |
| 133 | c_uint(PRIO_USER), |
| 134 | c_uint(uid.as_raw()) |
| 135 | ))?) |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | #[inline] |
| 140 | pub(crate) fn getpriority_pgrp(pgid: Option<Pid>) -> io::Result<i32> { |
nothing calls this directly
no test coverage detected