Debian Codegraph @

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

raw
1 .\" Copyright, Guillem Jover <[email protected]>
2 .\" Copyright 2006-2015, Michael Kerrisk <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\"
7 .TH PR_GET_TIMING 2const 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 PR_GET_TIMING
10 \-
11 get the process timing mode
12 .SH LIBRARY
13 Standard C library
14 .RI ( libc ,\~ \-lc )
15 .SH SYNOPSIS
16 .nf
17 .BR "#include <linux/prctl.h>" " /* Definition of " PR_* " constants */"
18 .B #include <sys/prctl.h>
19 .P
20 .B int prctl(PR_GET_TIMING);
21 .fi
22 .SH DESCRIPTION
23 Return which process timing method is currently
24 in use.
25 .SH RETURN VALUE
26 On success,
27 .B PR_GET_TIMING
28 returns the nonnegative value described above.
29 On error, \-1 is returned, and
30 .I errno
31 is set to indicate the error.
32 .SH STANDARDS
33 Linux.
34 .SH HISTORY
35 Linux 2.6.0.
36 .\" Precisely: Linux 2.6.0-test4
37 .SH SEE ALSO
38 .BR prctl (2),
39 .BR PR_SET_TIMING (2const)