From 41651a359e079674a18a81dea537ec328f08fec0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 28 Apr 2014 08:04:08 +0200 Subject: [PATCH] shmget.2: Clarify one of the EINVAL cases Signed-off-by: Michael Kerrisk --- man2/shmget.2 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/man2/shmget.2 b/man2/shmget.2 index 05cb61b86..318eb27c9 100644 --- a/man2/shmget.2 +++ b/man2/shmget.2 @@ -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