()
| 585 | /// [`prctl(PR_GET_TIMERSLACK,…)`]: https://man7.org/linux/man-pages/man2/prctl.2.html |
| 586 | #[inline] |
| 587 | pub fn current_timer_slack() -> io::Result<u64> { |
| 588 | unsafe { prctl_1arg(PR_GET_TIMERSLACK) }.map(|r| r as u64) |
| 589 | } |
| 590 | |
| 591 | const PR_SET_TIMERSLACK: c_int = 29; |
| 592 |
nothing calls this directly
no test coverage detected