.\" Author: Lee Schermerhorn <lee.schermerhorn@hp.com>
.\" Date: Thu Oct 25 14:16:32 2012 +0200
.\"
-.TH MBIND 2 2008-08-15 Linux "Linux Programmer's Manual"
+.TH MBIND 2 2015-01-22 Linux "Linux Programmer's Manual"
.SH NAME
mbind \- set memory policy for a memory range
.SH SYNOPSIS
.nf
.B "#include <numaif.h>"
.sp
-.BI "int mbind(void *" addr ", unsigned long " len ", int " mode ,
-.BI " unsigned long *" nodemask ", unsigned long " maxnode ,
-.BI " unsigned " flags );
+.BI "long mbind(void *" addr ", unsigned long " len ", int " mode ,
+.BI " const unsigned long *" nodemask ", unsigned long " maxnode ,
+.BI " unsigned " flags );
.sp
Link with \fI\-lnuma\fP.
.fi
and
.I maxnode
points outside your accessible address space.
-Or, there was an unmapped hole in the specified memory range.
+Or, there was an unmapped hole in the specified memory range specified by
+.IR addr
+and
+.IR len .
.TP
.B EINVAL
An invalid value was specified for
.BR cpuset (7),
.BR numa (7),
.BR numactl (8)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.