summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mmap.2
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1996-12-12 01:00:14 +0000
committeralex <alex@FreeBSD.org>1996-12-12 01:00:14 +0000
commit2bbb988ec4168f64135efe62a564f2e1e5e931c2 (patch)
treed75248e49db31e4e167ad03f670989d6764aa539 /lib/libc/sys/mmap.2
parentcfc0f8607d56711331d6874542d9874fcfb88bf3 (diff)
downloadFreeBSD-src-2bbb988ec4168f64135efe62a564f2e1e5e931c2.zip
FreeBSD-src-2bbb988ec4168f64135efe62a564f2e1e5e931c2.tar.gz
POSIX.4 defines MAP_FAILED to be the error return from mmap().
Diffstat (limited to 'lib/libc/sys/mmap.2')
-rw-r--r--lib/libc/sys/mmap.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/mmap.2 b/lib/libc/sys/mmap.2
index 32fcb44..3197397 100644
--- a/lib/libc/sys/mmap.2
+++ b/lib/libc/sys/mmap.2
@@ -149,7 +149,7 @@ should be done.
Upon successful completion,
.Fn mmap
returns a pointer to the mapped region.
-Otherwise, a value of -1 is returned and
+Otherwise, a value of MAP_FAILED is returned and
.Va errno
is set to indicate the error.
.Sh ERRORS
OpenPOWER on IntegriCloud