shmget.2: Rework EINVAL text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-28 07:02:59 +02:00
parent 2ddef2078c
commit a350124d86
1 changed files with 7 additions and 2 deletions

View File

@ -201,8 +201,13 @@ capability.
was specified and the segment exists.
.TP
.B EINVAL
A new segment was to be created and \fIsize\fP < \fBSHMMIN\fP
or \fIsize\fP > \fBSHMMAX\fP, or no new segment was to be created,
A new segment was to be created and
.I size
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
of that segment.
.TP