PR_GET_TIMERSLACK(2const) PR_GET_TIMERSLACK(2const)

PR_GET_TIMERSLACK - get the "current" timer slack value for the calling thread

Standard C library (libc, -lc)

#include <linux/prctl.h>  /* Definition of PR_* constants */
#include <sys/prctl.h>
int prctl(PR_GET_TIMERSLACK);

Return the "current" timer slack value of the calling thread.

On success, this call returns the nonnegative value described above. On error, -1 is returned, and errno is set to indicate the error.

/proc/pid/timerslack_ns

Linux.

Linux 2.6.28.

signal(2), PR_SET_TIMERSLACK(2const), proc_pid_timerslack_ns(5)

2024-06-02 Linux man-pages 6.9.1