aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-31 16:03:12 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-31 17:09:36 +0200
commitcd74efc37571c0cfec3c1f73c23d5049d0fe8873 (patch)
treecfd034385116cdc236d50d89b99f1186ad3296d9
parent00d29a9b194731eca6974678aaf3ef9814e9acb8 (diff)
downloadman-pages-cd74efc37571.tar.gz
PR_GET_TSC.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/PR_GET_TSC.2const10
1 files changed, 4 insertions, 6 deletions
diff --git a/man/man2const/PR_GET_TSC.2const b/man/man2const/PR_GET_TSC.2const
index 9217c27697..ecb253a01c 100644
--- a/man/man2const/PR_GET_TSC.2const
+++ b/man/man2const/PR_GET_TSC.2const
@@ -1,11 +1,9 @@
.\" Copyright 2008, Erik Bosman <ejbosman@cs.vu.nl>
.\" Copyright 2008, 2012, 2013, 2015, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright 2024, Alejandro Colomar <alx@kernel.org>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.\" 2008-06-13 Erik Bosman, <ejbosman@cs.vu.nl>
-.\" Document PR_GET_TSC
-.\"
.TH PR_GET_TSC 2const (date) "Linux man-pages (unreleased)"
.SH NAME
PR_GET_TSC
@@ -21,12 +19,10 @@ Standard C library
.BI "int prctl(PR_GET_TSC, int *" flag ", 0L, 0L, 0L);"
.fi
.SH DESCRIPTION
-.TP
-.BR PR_GET_TSC " (since Linux 2.6.26, x86 only)"
Return the state of the flag determining whether the timestamp counter
can be read,
in the location pointed to by
-.IR "(int\~*) arg2" .
+.IR flag .
.SH RETURN VALUE
On success,
0 is returned.
@@ -40,7 +36,9 @@ is set to indicate the error.
is an invalid address.
.SH STANDARDS
Linux.
+x86 only.
.SH HISTORY
+Linux 2.6.26 (x86).
.SH SEE ALSO
.BR prctl (2),
.BR PR_SET_TSC (2const)