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>
This commit is contained in:
Michael Kerrisk 2016-08-13 07:15:00 +12:00
parent 7b032b2398
commit bf525e9050
1 changed files with 3 additions and 2 deletions

View File

@ -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).)