mirror of https://github.com/mkerrisk/man-pages
sched_setaffinity.2: Fix prototype for sched_setaffinity()
The mask argument is const. Signed-off-by: Rasmus Villemoes <rv@rasmusvillemoes.dk> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9f9bbc5aa3
commit
475b1ecfcd
|
@ -41,7 +41,7 @@ set and get a thread's CPU affinity mask
|
|||
.B #include <sched.h>
|
||||
.sp
|
||||
.BI "int sched_setaffinity(pid_t " pid ", size_t " cpusetsize ,
|
||||
.BI " cpu_set_t *" mask );
|
||||
.BI " const cpu_set_t *" mask );
|
||||
.sp
|
||||
.BI "int sched_getaffinity(pid_t " pid ", size_t " cpusetsize ,
|
||||
.BI " cpu_set_t *" mask );
|
||||
|
|
Loading…
Reference in New Issue