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:
Michael Kerrisk 2018-02-24 19:34:28 +01:00
parent 9c8ed83514
commit 365a54c70b
1 changed files with 2 additions and 1 deletions

View File

@ -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