aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-31 15:12:59 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-31 17:09:35 +0200
commit6c612588266647a8717f84e92ea80963bebff5ce (patch)
tree074b473f027f4fff4fbb69150ea3f919c5290473
parent959d2a63006cd996e44cf15d5e4ae479b77d773f (diff)
downloadman-pages-6c6125882666.tar.gz
PR_GET_TIMING.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/PR_GET_TIMING.2const15
1 files changed, 6 insertions, 9 deletions
diff --git a/man/man2const/PR_GET_TIMING.2const b/man/man2const/PR_GET_TIMING.2const
index 88a614831c..f54d9807a3 100644
--- a/man/man2const/PR_GET_TIMING.2const
+++ b/man/man2const/PR_GET_TIMING.2const
@@ -1,11 +1,9 @@
.\" Copyright, Guillem Jover <guillem@hadrons.org>
.\" Copyright 2006, 2008, 2012, 2013, 2015, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright 2024, Alejandro Colomar <alx@kernel.org>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.\" Modified 2006-08-30 Guillem Jover <guillem@hadrons.org>
-.\" Added PR_GET_TIMING
-.\"
.TH PR_GET_TIMING 2const (date) "Linux man-pages (unreleased)"
.SH NAME
PR_GET_TIMING
@@ -18,17 +16,14 @@ Standard C library
.nf
.B #include <sys/prctl.h>
.P
-.BI "int prctl(int " op ", ...);"
+.B int prctl(PR_SET_TIMING, 0L, 0L, 0L, 0L);
.fi
.SH DESCRIPTION
-.TP
-.BR PR_GET_TIMING " (since Linux 2.6.0)"
-.\" Precisely: Linux 2.6.0-test4
-Return (as the function result) which process timing method is currently
+Return which process timing method is currently
in use.
.SH RETURN VALUE
On success,
-.BR PR_GET_TIMING ,
+.B PR_GET_TIMING
returns the nonnegative value described above.
On error, \-1 is returned, and
.I errno
@@ -36,6 +31,8 @@ is set to indicate the error.
.SH STANDARDS
Linux.
.SH HISTORY
+Linux 2.6.0.
+.\" Precisely: Linux 2.6.0-test4
.SH SEE ALSO
.BR prctl (2),
.BR PR_SET_TIMING (2const)