From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/clock_getcpuclockid.3 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'man3/clock_getcpuclockid.3') 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 .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" -- cgit v1.2.3