diff options
author | alex <alex@FreeBSD.org> | 1996-12-12 01:00:14 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 1996-12-12 01:00:14 +0000 |
commit | 2bbb988ec4168f64135efe62a564f2e1e5e931c2 (patch) | |
tree | d75248e49db31e4e167ad03f670989d6764aa539 /lib | |
parent | cfc0f8607d56711331d6874542d9874fcfb88bf3 (diff) | |
download | FreeBSD-src-2bbb988ec4168f64135efe62a564f2e1e5e931c2.zip FreeBSD-src-2bbb988ec4168f64135efe62a564f2e1e5e931c2.tar.gz |
POSIX.4 defines MAP_FAILED to be the error return from mmap().
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/mmap.2 | 2 |
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 |