about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorFabrice Bauzac <fbauzac@amadeus.com>2013-10-25 13:51:58 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2013-10-25 13:51:58 +0530
commit52e6d80122eee44b64db0e947fe7e4001e92ce83 (patch)
tree310a238a9ec9577fe8dc9aa977811caa5d4de34c /manual
parent7cbcdb3699584db8913ca90f705d6337633ee10f (diff)
downloadglibc-52e6d80122eee44b64db0e947fe7e4001e92ce83.tar.gz
glibc-52e6d80122eee44b64db0e947fe7e4001e92ce83.tar.xz
glibc-52e6d80122eee44b64db0e947fe7e4001e92ce83.zip
Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.
Diffstat (limited to 'manual')
-rw-r--r--manual/llio.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/llio.texi b/manual/llio.texi
index b129cf40bd..dd0eaa3cb9 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -1226,8 +1226,8 @@ as the included @code{malloc} automatically uses @code{mmap} where appropriate.
 
 @end vtable
 
-@code{mmap} returns the address of the new mapping, or @math{-1} for an
-error.
+@code{mmap} returns the address of the new mapping, or
+@code{MAP_FAILED} for an error.
 
 Possible errors include: