The nodemask argument is const. The return type in numaif.h is long. --- man2/set_mempolicy.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/set_mempolicy.2 b/man2/set_mempolicy.2 index 843208c..b17cf30 100644 --- a/man2/set_mempolicy.2 +++ b/man2/set_mempolicy.2 @@ -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 -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html