]>
Commit | Line | Data |
---|---|---|
c0d72e9e MK |
1 | .\" Copyright (c) 2009 Linux Foundation, written by Michael Kerrisk |
2 | .\" <mtk.manpages@gmail.com> | |
3 | .\" | |
93015253 | 4 | .\" %%%LICENSE_START(VERBATIM) |
c0d72e9e MK |
5 | .\" Permission is granted to make and distribute verbatim copies of this |
6 | .\" manual provided the copyright notice and this permission notice are | |
7 | .\" preserved on all copies. | |
8 | .\" | |
9 | .\" Permission is granted to copy and distribute modified versions of this | |
10 | .\" manual under the conditions for verbatim copying, provided that the | |
11 | .\" entire resulting derived work is distributed under the terms of a | |
12 | .\" permission notice identical to this one. | |
13 | .\" | |
14 | .\" Since the Linux kernel and libraries are constantly changing, this | |
15 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
16 | .\" responsibility for errors or omissions, or for damages resulting from | |
17 | .\" the use of the information contained herein. The author(s) may not | |
18 | .\" have taken the same level of care in the production of this manual, | |
19 | .\" which is licensed free of charge, as they might when working | |
20 | .\" professionally. | |
21 | .\" | |
22 | .\" Formatted or processed versions of this manual, if unaccompanied by | |
23 | .\" the source, must acknowledge the copyright and authors of this work. | |
4b72fb64 | 24 | .\" %%%LICENSE_END |
c0d72e9e | 25 | .\" |
9ba01802 | 26 | .TH PTHREAD_GETCPUCLOCKID 3 2019-03-06 "Linux" "Linux Programmer's Manual" |
c0d72e9e MK |
27 | .SH NAME |
28 | pthread_getcpuclockid \- retrieve ID of a thread's CPU time clock | |
29 | .SH SYNOPSIS | |
30 | .nf | |
31 | .B #include <pthread.h> | |
32 | .B #include <time.h> | |
f90f031e | 33 | .PP |
e0def8f5 | 34 | .BI "int pthread_getcpuclockid(pthread_t " thread ", clockid_t *" clock_id ); |
68e4db0a | 35 | .PP |
c0d72e9e | 36 | Compile and link with \fI\-pthread\fP. |
6030f2d8 | 37 | .fi |
c0d72e9e MK |
38 | .SH DESCRIPTION |
39 | The | |
40 | .BR pthread_getcpuclockid () | |