X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Fpthread_attr_setaffinity_np.3;h=60b8bcf9d42d11e65de40b6ec94d3daf603c4ec2;hp=e99cc58dfb57d84459843b00a2e0e1f984e04b6c;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=e9e6c106d11bd9cca5f4a6585364b93f5ae3007a diff --git a/original/man3/pthread_attr_setaffinity_np.3 b/original/man3/pthread_attr_setaffinity_np.3 index e99cc58d..60b8bcf9 100644 --- a/original/man3/pthread_attr_setaffinity_np.3 +++ b/original/man3/pthread_attr_setaffinity_np.3 @@ -23,7 +23,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" -.TH PTHREAD_ATTR_SETAFFINITY_NP 3 2010-09-10 "Linux" "Linux Programmer's Manual" +.TH PTHREAD_ATTR_SETAFFINITY_NP 3 2014-05-28 "Linux" "Linux Programmer's Manual" .SH NAME pthread_attr_setaffinity_np, pthread_attr_getaffinity_np \- set/get CPU affinity attribute in thread attributes object @@ -34,7 +34,7 @@ CPU affinity attribute in thread attributes object .BI "int pthread_attr_setaffinity_np(pthread_attr_t *" attr , .BI " size_t " cpusetsize ", const cpu_set_t *" cpuset ); -.BI "int pthread_attr_getaffinity_np(pthread_attr_t *" attr , +.BI "int pthread_attr_getaffinity_np(const pthread_attr_t *" attr , .BI " size_t " cpusetsize ", cpu_set_t *" cpuset ); .sp Compile and link with \fI\-pthread\fP. @@ -121,3 +121,12 @@ Instead the CPU set size given to the underlying system calls was always .BR pthread_setaffinity_np (3), .BR cpuset (7), .BR pthreads (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/.