mmap.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-04-12 09:39:50 +02:00
parent 3a548c59d9
commit 73cb50e21b
1 changed files with 3 additions and 1 deletions

View File

@ -286,7 +286,9 @@ This flag can therefore be used as a way to atomically
one thread will succeed; all others will report failure.
Note that older kernels which do not recognize this
flag will typically (upon detecting a collision with a preexisting mapping)
fall back to a "non-MAP_FIXED" type of behavior:
fall back to a "non-\c
.B MAP_FIXED\c
" type of behavior:
they will return an address that is different from the requested address.
Therefore, backward-compatible software
should check the returned address against the requested address.