mirror of https://github.com/mkerrisk/man-pages
mmap.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
b9f34840c2
commit
9b92bc1449
|
@ -225,7 +225,7 @@ If the specified address cannot be used,
|
|||
.BR mmap ()
|
||||
will fail.
|
||||
Software that aspires to be portable should use this option with care,
|
||||
keeping in mind that the exact layout of a process' memory map
|
||||
keeping in mind that the exact layout of a process's memory mappings
|
||||
is allowed to change significantly between kernel versions,
|
||||
C library versions, and operating system releases.
|
||||
.IP
|
||||
|
@ -238,7 +238,7 @@ For example, thread A looks through
|
|||
and locates an available address range,
|
||||
while thread B simultaneously acquires part or all of that same
|
||||
address range.
|
||||
A then calls
|
||||
Thread A then calls
|
||||
.BR mmap(MAP_FIXED) ,
|
||||
effectively overwriting the mapping that thread B created.
|
||||
.IP
|
||||
|
|
Loading…
Reference in New Issue