PR_GET_TIMERSLACK
get the "current" timer slack value for the calling thread
- Provided by: manpages-dev (Version: 6.9.1-1)
- Source: manpages
- Report a bug
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.
Linux.
Linux 2.6.28.
signal(2), PR_SET_TIMERSLACK(2const), proc_pid_timerslack_ns(5)