mirror of https://github.com/mkerrisk/man-pages
get_mempolicy.2: Fix prototype for get_mempolicy()
In numaif.h, 'add' is typed as 'void *' Reported-by: Jörn Engel <joern@purestorage.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1f7191bb03
commit
f9e2bea7ca
|
@ -32,7 +32,7 @@ get_mempolicy \- retrieve NUMA memory policy for a thread
|
|||
.nf
|
||||
.sp
|
||||
.BI "int get_mempolicy(int *" mode ", unsigned long *" nodemask ,
|
||||
.BI " unsigned long " maxnode ", unsigned long " addr ,
|
||||
.BI " unsigned long " maxnode ", void *" addr ,
|
||||
.BI " unsigned long " flags );
|
||||
.sp
|
||||
Link with \fI\-lnuma\fP.
|
||||
|
|
Loading…
Reference in New Issue