OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / pthread_getcpuclockid.3
index ed52c29..c48b802 100644 (file)
@@ -23,7 +23,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH PTHREAD_GETCPUCLOCKID 3 2009-02-08 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_GETCPUCLOCKID 3 2014-05-23 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_getcpuclockid \- retrieve ID of a thread's CPU time clock
 .SH SYNOPSIS
@@ -31,7 +31,7 @@ pthread_getcpuclockid \- retrieve ID of a thread's CPU time clock
 .B #include <pthread.h>
 .B #include <time.h>
 
-.BI "int pthread_getcpuclockid(pthread_t " thread ", clockid_t *" clock_id);
+.BI "int pthread_getcpuclockid(pthread_t " thread ", clockid_t *" clock_id );
 .sp
 Compile and link with \fI\-pthread\fP.
 .fi
@@ -62,6 +62,11 @@ No thread with the ID
 could be found.
 .SH VERSIONS
 This function is available in glibc since version 2.2.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR pthread_getcpuclockid ()
+function is thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
@@ -175,3 +180,12 @@ main(int argc, char *argv[])
 .BR pthread_self (3),
 .BR pthreads (7),
 .BR time (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.