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:
Rasmus Villemoes 2014-04-30 21:42:37 +02:00 committed by Michael Kerrisk
parent 9f9bbc5aa3
commit 475b1ecfcd
1 changed files with 1 additions and 1 deletions

View File

@ -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 );