set_mempolicy.2: Fix prototype for set_mempolicy(2)

The nodemask argument is const. The return type in numaif.h is long.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Rasmus Villemoes 2014-05-20 01:02:08 +02:00 committed by Michael Kerrisk
parent 91aabea534
commit 2cbf26f13e
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ set_mempolicy \- set default NUMA memory policy for a process and its children
.nf
.B "#include <numaif.h>"
.sp
.BI "int set_mempolicy(int " mode ", unsigned long *" nodemask ,
.BI " unsigned long " maxnode );
.BI "long set_mempolicy(int " mode ", const unsigned long *" nodemask ,
.BI " unsigned long " maxnode );
.sp
Link with \fI\-lnuma\fP.
.fi