Debian Codegraph @

upstream/debian-unstable/man2/PR_GET_TIMERSLACK.2const

raw
1 .\" Copyright 2012-2015, Michael Kerrisk <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH PR_GET_TIMERSLACK 2const 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 PR_GET_TIMERSLACK
9 \-
10 get the "current" timer slack value for the calling thread
11 .SH LIBRARY
12 Standard C library
13 .RI ( libc ,\~ \-lc )
14 .SH SYNOPSIS
15 .nf
16 .BR "#include <linux/prctl.h>" " /* Definition of " PR_* " constants */"
17 .B #include <sys/prctl.h>
18 .P
19 .B int prctl(PR_GET_TIMERSLACK);
20 .fi
21 .SH DESCRIPTION
22 Return
23 the "current" timer slack value of the calling thread.
24 .SH RETURN VALUE
25 On success,
26 this call
27 returns the nonnegative value described above.
28 On error, \-1 is returned, and
29 .I errno
30 is set to indicate the error.
31 .SH FILES
32 .TP
33 .IR /proc/\: pid /\:timerslack_ns
34 .SH STANDARDS
35 Linux.
36 .SH HISTORY
37 Linux 2.6.28.
38 .SH SEE ALSO
39 .BR signal (2),
40 .BR PR_SET_TIMERSLACK (2const),
41 .BR proc_pid_timerslack_ns (5)