]>
Commit | Line | Data |
---|---|---|
9df71aff MK |
1 | .\" Copyright (c) 2008, Linux Foundation, written by Michael Kerrisk |
2 | .\" <mtk.manpages@gmail.com> | |
3 | .\" | |
93015253 | 4 | .\" %%%LICENSE_START(VERBATIM) |
9df71aff 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 |
9df71aff | 25 | .\" |
4b8c67d9 | 26 | .TH CLOCK_GETCPUCLOCKID 3 2017-09-15 "Linux" "Linux Programmer's Manual" |
9df71aff MK |
27 | .SH NAME |
28 | clock_getcpuclockid \- obtain ID of a process CPU-time clock | |
29 | .SH SYNOPSIS | |
30 | .B #include <time.h> | |
31 | .nf | |
68e4db0a | 32 | .PP |
d6a591bc | 33 | .BI "int clock_getcpuclockid(pid_t " pid ", clockid_t *" clock_id ); |
9df71aff | 34 | .fi |
68e4db0a | 35 | .PP |
fb759ff4 | 36 | Link with \fI\-lrt\fP (only for glibc versions before 2.17). |
68e4db0a | 37 | .PP |
9a30939e | 38 | .ad l |
9df71aff MK |
39 | .in -4n |
40 | Feature Test Macro Requirements for glibc (see | |
41 | .BR feature_test_macros (7)): | |
42 | .in | |
68e4db0a | 43 | .PP |
9df71aff | 44 | .BR clock_getcpuclockid (): |
9a30939e | 45 | .RS 4 |
a446ac0c | 46 | _POSIX_C_SOURCE\ >=\ 200112L |
9a30939e MK |
47 | .RE |
48 | .ad | |
9df71aff MK |
49 | .SH DESCRIPTION |
50 | The | |
51 | .BR clock_getcpuclockid () | |