summaryrefslogtreecommitdiffstats
path: root/man3/clock_getcpuclockid.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/clock_getcpuclockid.3')
-rw-r--r--man3/clock_getcpuclockid.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/clock_getcpuclockid.3 b/man3/clock_getcpuclockid.3
index 749fdbe..541c46a 100644
--- a/man3/clock_getcpuclockid.3
+++ b/man3/clock_getcpuclockid.3
@@ -4,30 +4,30 @@
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.TH clock_getcpuclockid 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH clock_getcpuclockid 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
clock_getcpuclockid \- obtain ID of a process CPU-time clock
.SH LIBRARY
Standard C library
.RI ( libc ", " \-lc ),
since glibc 2.17
-.PP
+.P
Before glibc 2.17,
Real-time library
.RI ( librt ", " \-lrt )
.SH SYNOPSIS
.B #include <time.h>
.nf
-.PP
+.P
.BI "int clock_getcpuclockid(pid_t " pid ", clockid_t *" clockid );
.fi
-.PP
+.P
.ad l
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR clock_getcpuclockid ():
.nf
_POSIX_C_SOURCE >= 200112L
@@ -81,7 +81,6 @@ T{
.BR clock_getcpuclockid ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
POSIX.1-2008.
.SH HISTORY
@@ -104,7 +103,7 @@ and then uses
.BR clock_gettime (2)
to obtain the time on that clock.
An example run is the following:
-.PP
+.P
.in +4n
.EX
.RB "$" " ./a.out 1" " # Show CPU clock of init process"