mirror of https://github.com/mkerrisk/man-pages
mmap.2: Clarify that when addr==NULL, address chosen by kernel is page-aligned
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9c8ed83514
commit
365a54c70b
|
@ -64,7 +64,8 @@ argument specifies the length of the mapping (which must be greater than 0).
|
|||
If
|
||||
.I addr
|
||||
is NULL,
|
||||
then the kernel chooses the address at which to create the mapping;
|
||||
then the kernel chooses the (page-aligned) address
|
||||
at which to create the mapping;
|
||||
this is the most portable method of creating a new mapping.
|
||||
If
|
||||
.I addr
|
||||
|
|
Loading…
Reference in New Issue