mremap.2: Minor fixes to Mike's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-09-20 08:58:31 +02:00
parent 11e8c314c3
commit dd9e077103
1 changed files with 3 additions and 3 deletions

View File

@ -61,13 +61,13 @@ below.
If the value of \fIold_size\fP is zero, and \fIold_address\fP refers to If the value of \fIold_size\fP is zero, and \fIold_address\fP refers to
a shareable mapping (see a shareable mapping (see
.BR mmap (2) .BR mmap (2)
.BR MAP_SHARED ) .BR MAP_SHARED ),
, then then
.BR mremap () .BR mremap ()
will create a new mapping of the same pages. will create a new mapping of the same pages.
\fInew_size\fP \fInew_size\fP
will be the size of the new mapping and the location of the new mapping will be the size of the new mapping and the location of the new mapping
may be specified with \fInew_address\fP, see the description of may be specified with \fInew_address\fP; see the description of
.B MREMAP_FIXED .B MREMAP_FIXED
below. below.
If a new mapping is requested via this method, then the If a new mapping is requested via this method, then the