aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-09-21 15:47:18 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-09-21 15:47:18 +0000
commitf8ad0aeb4b67f22d8e71270de241f09e6dba421e (patch)
tree0a83bec4e3c16218482febfc8f42ed998605b95d
parent6859d357ee3875127362449a4dc0485bcae3a28a (diff)
downloadman-pages-f8ad0aeb4b67f22d8e71270de241f09e6dba421e.tar.gz
Added new text for ENOMEM
-rw-r--r--man2/mprotect.27
1 files changed, 6 insertions, 1 deletions
diff --git a/man2/mprotect.2 b/man2/mprotect.2
index 604682203d..fbf6d22449 100644
--- a/man2/mprotect.2
+++ b/man2/mprotect.2
@@ -87,7 +87,12 @@ The memory cannot be accessed.
\fIaddr\fR is not a valid pointer, or not a multiple of PAGESIZE.
.TP
.B ENOMEM
-Internal kernel structures could not be allocated.
+Internal kernel structures could not be allocated.
+Or: addreses in the range
+.RI [ addr ,
+.IR addr + len ]
+are invalid for the address space of the process,
+or specify one or more pages that are not mapped.
.SH EXAMPLE
.nf
#include <stdio.h>