mmap.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-04-12 09:32:47 +02:00
parent 007d7833b0
commit 509935b7de
1 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ with respect to the
.I addr
enforcement, but different in that
.B MAP_FIXED_NOREPLACE
never clobbers a pre-existing mapped range.
never clobbers a preexisting mapped range.
If the requested range would collide with an existing mapping,
then this call fails with
.B EEXIST.
@ -284,7 +284,7 @@ This flag can therefore be used as a way to atomically
(with respect to other threads) attempt to map an address range:
one thread will succeed; all others will report failure.
Please note that older kernels which do not recognize this
flag will typically (upon detecting a collision with a pre-existing mapping)
flag will typically (upon detecting a collision with a preexisting mapping)
fall back to a "non-MAP_FIXED" type of behavior:
they will return an address that is different than the requested one.
Therefore, backward-compatible software