summaryrefslogtreecommitdiff
path: root/doc/posix-functions/mmap.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/posix-functions/mmap.texi')
-rw-r--r--doc/posix-functions/mmap.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/posix-functions/mmap.texi b/doc/posix-functions/mmap.texi
index 016d0d279e..24a79d554c 100644
--- a/doc/posix-functions/mmap.texi
+++ b/doc/posix-functions/mmap.texi
@@ -8,6 +8,10 @@ Gnulib module: ---
Portability problems fixed by Gnulib:
@itemize
+@item
+On platforms where @code{off_t} is a 32-bit type, this function may not
+work correctly across the entire data range of files 2 GiB and larger.
+@xref{Large File Support}.
@end itemize
Portability problems not fixed by Gnulib:
@@ -16,10 +20,6 @@ Portability problems not fixed by Gnulib:
This function is missing on some platforms:
mingw, MSVC 14.
@item
-On platforms where @code{off_t} is a 32-bit type, this function may not
-work correctly across the entire data range of files larger than 2 GB.
-The fix is to use the @code{AC_SYS_LARGEFILE} macro.
-@item
To get anonymous memory, on some platforms, you can use the flags
@code{MAP_ANONYMOUS | MAP_PRIVATE} and @code{-1} instead of a file descriptor;
on others you have to use a read-only file descriptor of @file{/dev/zero}.