mirror of https://github.com/mkerrisk/man-pages
shmop.2: Structure the attach cases as a list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2f0edc6c4e
commit
8b0545b4e8
|
@ -58,13 +58,13 @@ to the address space of the calling process.
|
|||
The attaching address is specified by
|
||||
.I shmaddr
|
||||
with one of the following criteria:
|
||||
.LP
|
||||
.IP * 3
|
||||
If
|
||||
.I shmaddr
|
||||
is NULL,
|
||||
the system chooses a suitable (unused) address at which to attach
|
||||
the segment.
|
||||
.LP
|
||||
.IP *
|
||||
If
|
||||
.I shmaddr
|
||||
isn't NULL
|
||||
|
@ -76,7 +76,8 @@ the attach occurs at the address equal to
|
|||
.I shmaddr
|
||||
rounded down to the nearest multiple of
|
||||
.BR SHMLBA .
|
||||
Otherwise
|
||||
.IP *
|
||||
Otherwise,
|
||||
.I shmaddr
|
||||
must be a page-aligned address at which the attach occurs.
|
||||
.PP
|
||||
|
|
Loading…
Reference in New Issue