summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2010-04-14 15:23:16 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2010-04-14 15:23:16 +0000
commitaf4b8626fc0b98c9147e04fa3f430dfb647aa49b (patch)
tree38a8316f710340c71fb83b14028755a287ebb077 /lib/libc
parentb0e51be80c31ca714f8340caf5a8311985dcd306 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/mmap.27
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 196d6aef77c2..da8473f6405d 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -105,7 +105,7 @@ The file descriptor used for creating
must be \-1.
The
.Fa offset
-argument is ignored.
+argument must be 0.
.\".It Dv MAP_FILE
.\"Mapped from a regular file or character-special device memory.
.It Dv MAP_FIXED
@@ -312,6 +312,11 @@ was negative.
was specified and the
.Fa fd
argument was not -1.
+.It Bq Er EINVAL
+.Dv MAP_ANON
+was specified and the
+.Fa offset
+argument was not 0.
.It Bq Er ENODEV
.Dv MAP_ANON
has not been specified and