mirror of https://github.com/mkerrisk/man-pages
pthread_attr_setaffinity_np.3: SYNOPSIS: Fix declaration of 'attr'
Reported-by: Satyam Sharma <ssatyam@cse.iitk.ac.in> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
f5d458e6fe
commit
6255c227d7
|
@ -21,7 +21,7 @@
|
|||
.\" Formatted or processed versions of this manual, if unaccompanied by
|
||||
.\" the source, must acknowledge the copyright and authors of this work.
|
||||
.\"
|
||||
.TH PTHREAD_ATTR_SETAFFINITY_NP 3 2008-11-14 "Linux" "Linux Programmer's Manual"
|
||||
.TH PTHREAD_ATTR_SETAFFINITY_NP 3 2009-02-01 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
pthread_attr_setaffinity_np, pthread_attr_getaffinity_np \- set/get
|
||||
CPU affinity attribute in thread attributes object
|
||||
|
@ -30,9 +30,9 @@ CPU affinity attribute in thread attributes object
|
|||
.B #define _GNU_SOURCE
|
||||
.B #include <pthread.h>
|
||||
|
||||
.BI "int pthread_attr_setaffinity_np(pthread_attr_t " attr ,
|
||||
.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(pthread_attr_t *" attr ,
|
||||
.BI " size_t " cpusetsize ", cpu_set_t *" cpuset );
|
||||
.sp
|
||||
Compile and link with \fI\-pthread\fP.
|
||||
|
|
Loading…
Reference in New Issue