mirror of https://github.com/mkerrisk/man-pages
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:
parent
91aabea534
commit
2cbf26f13e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue