aboutsummaryrefslogtreecommitdiffstats
path: root/man3/pthread_getcpuclockid.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-04-02 12:37:44 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-04-02 12:57:25 +0200
commit98511af299eb1a17be5a5f0cae1bfcf6a89a88ea (patch)
treebcdffca801afca169060ca4a65d4b291a79a3907 /man3/pthread_getcpuclockid.3
parent9e099e691e69fc69536d1cf83ed75a98f1700b36 (diff)
downloadman-pages-98511af299eb1a17be5a5f0cae1bfcf6a89a88ea.tar.gz
pthread_getcpuclockid.3: Minor clarification to usage of 'clockid' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/pthread_getcpuclockid.3')
-rw-r--r--man3/pthread_getcpuclockid.37
1 files changed, 5 insertions, 2 deletions
diff --git a/man3/pthread_getcpuclockid.3 b/man3/pthread_getcpuclockid.3
index dc26fbd780..f76cbbd4c5 100644
--- a/man3/pthread_getcpuclockid.3
+++ b/man3/pthread_getcpuclockid.3
@@ -38,8 +38,11 @@ Compile and link with \fI\-pthread\fP.
.SH DESCRIPTION
The
.BR pthread_getcpuclockid ()
-function returns the clock ID for the CPU time clock of the thread
-.IR thread .
+function obtains the ID of the CPU-time clock of the thread whose ID is
+given in
+.IR thread ,
+and returns it in the location pointed to by
+.IR clockid .
.\" The clockid is constructed as follows:
.\" *clockid = CLOCK_THREAD_CPUTIME_ID | (pd->tid << CLOCK_IDFIELD_SIZE)
.\" where CLOCK_IDFIELD_SIZE is 3.