]>
Commit | Line | Data |
---|---|---|
9df71aff MK |
1 | .\" Copyright (c) 2008, Linux Foundation, written by Michael Kerrisk |
2 | .\" <mtk.manpages@gmail.com> | |
3 | .\" | |
4 | .\" Permission is granted to make and distribute verbatim copies of this | |
5 | .\" manual provided the copyright notice and this permission notice are | |
6 | .\" preserved on all copies. | |
7 | .\" | |
8 | .\" Permission is granted to copy and distribute modified versions of this | |
9 | .\" manual under the conditions for verbatim copying, provided that the | |
10 | .\" entire resulting derived work is distributed under the terms of a | |
11 | .\" permission notice identical to this one. | |
12 | .\" | |
13 | .\" Since the Linux kernel and libraries are constantly changing, this | |
14 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
15 | .\" responsibility for errors or omissions, or for damages resulting from | |
16 | .\" the use of the information contained herein. The author(s) may not | |
17 | .\" have taken the same level of care in the production of this manual, | |
18 | .\" which is licensed free of charge, as they might when working | |
19 | .\" professionally. | |
20 | .\" | |
21 | .\" Formatted or processed versions of this manual, if unaccompanied by | |
22 | .\" the source, must acknowledge the copyright and authors of this work. | |
23 | .\" | |
fb759ff4 | 24 | .TH CLOCK_GETCPUCLOCKID 3 2012-10-29 "Linux" "Linux Programmer's Manual" |
9df71aff MK |
25 | .SH NAME |
26 | clock_getcpuclockid \- obtain ID of a process CPU-time clock | |
27 | .SH SYNOPSIS | |
28 | .B #include <time.h> | |
29 | .nf | |
30 | .sp | |
d6a591bc | 31 | .BI "int clock_getcpuclockid(pid_t " pid ", clockid_t *" clock_id ); |
9df71aff MK |
32 | .fi |
33 | .sp | |
fb759ff4 | 34 | Link with \fI\-lrt\fP (only for glibc versions before 2.17). |
9df71aff | 35 | .sp |
9a30939e | 36 | .ad l |
9df71aff MK |
37 | .in -4n |
38 | Feature Test Macro Requirements for glibc (see | |
39 | .BR feature_test_macros (7)): | |
40 | .in | |
41 | .sp | |
42 | .BR clock_getcpuclockid (): | |
9a30939e MK |
43 | .RS 4 |
44 | _XOPEN_SOURCE\ >=\ 600 || _POSIX_C_SOURCE\ >=\ 200112L | |
45 | .RE | |
46 | .ad | |
9df71aff MK |
47 | .SH DESCRIPTION |
48 | The | |
49 | .BR clock_getcpuclockid () | |