aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-08-13 07:15:00 +1200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-08-17 08:09:28 +1200
commitbf525e9050aac739bbcc97aa486b957122c030e7 (patch)
tree1a75340aa5128aebd1a6bb039f3b624913908a9a
parent7b032b2398ceae466c2ba023aa5e45e20e1549f5 (diff)
downloadman-pages-bf525e9050aac739bbcc97aa486b957122c030e7.tar.gz
mmap.2: Small improvement to description of MAP_SHARED
See https://sourceware.org/bugzilla/show_bug.cgi?id=6887 Reported-by: Siward de Groot <siward@wanadoo.nl> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/mmap.25
1 files changed, 3 insertions, 2 deletions
diff --git a/man2/mmap.2 b/man2/mmap.2
index e6f96b4713..1bb6acae90 100644
--- a/man2/mmap.2
+++ b/man2/mmap.2
@@ -118,8 +118,9 @@ of the following values in
.TP
.B MAP_SHARED
Share this mapping.
-Updates to the mapping are visible to other processes that map this file,
-and are carried through to the underlying file.
+Updates to the mapping are visible to other processes mapping the same region,
+and (in the case of file-backed mappings)
+are carried through to the underlying file.
(To precisely control when updates are carried through
to the underlying file requires the use of
.BR msync (2).)