]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/pthread_getcpuclockid.3
intro.1, _exit.2, access.2, alarm.2, alloc_hugepages.2, arch_prctl.2, bind.2, chdir...
[thirdparty/man-pages.git] / man3 / pthread_getcpuclockid.3
CommitLineData
c0d72e9e
MK
1.\" Copyright (c) 2009 Linux Foundation, written by Michael Kerrisk
2.\" <mtk.manpages@gmail.com>
3.\"
4b72fb64 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.\"
f6d908ca 26.TH PTHREAD_GETCPUCLOCKID 3 2009-02-08 "Linux" "Linux Programmer's Manual"
c0d72e9e
MK
27.SH NAME
28pthread_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>
33
f6d908ca 34.BI "int pthread_getcpuclockid(pthread_t " thread ", clockid_t *" clock_id);
c0d72e9e
MK
35.sp
36Compile and link with \fI\-pthread\fP.
6030f2d8 37.fi
c0d72e9e
MK
38.SH DESCRIPTION
39The
40.BR pthread_getcpuclockid ()