diff options
| -rw-r--r-- | man/man2const/PR_GET_TIMING.2const | 15 |
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) |
