shmget.2: Clarify one of the EINVAL cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 08:04:08 +02:00
parent ec64ab7fe3
commit 41651a359e
1 changed files with 7 additions and 3 deletions

View File

@ -206,9 +206,13 @@ A new segment was to be created and
is less than
.B SHMIN
or greater than
.BR SHMMAX ;
or, no new segment was to be created,
a segment with given key existed, but \fIsize\fP is greater than the size
.BR SHMMAX .
.TP
.B EINVAL
(The call did not create a new segment and)
a segment for the given
.I key
exists, but \fIsize\fP is greater than the size
of that segment.
.TP
.B ENFILE