Thread (1 message) 1 message, 1 author, 2015-03-09

Re: [PATCH] msgop.2: remove EAGAIN as msgrcv errno

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-03-09 09:05:08

On 02/27/2015 12:36 AM, wfp5p-rupya+Y+cgAvmQRmTv5wTA@public.gmane.org wrote:
From: Bill Pemberton <redacted>
Thanks, Bill. Applied.

Cheers,

Michael

quoted hunk
The list of errnos for msgrcv lists both EAGAIN and ENOMSG as the
errno for no message available with the IPC_NOWAIT flag.  ENOMSG is
the errno that will be set.

Signed-off-by: Bill Pemberton <redacted>
---
 man2/msgop.2 | 6 ------
 1 file changed, 6 deletions(-)
diff --git a/man2/msgop.2 b/man2/msgop.2
index d1bd2125344d..286c9965d595 100644
--- a/man2/msgop.2
+++ b/man2/msgop.2
@@ -417,12 +417,6 @@ and does not have the
 .B CAP_IPC_OWNER
 capability.
 .TP
-.B EAGAIN
-No message was available in the queue and
-.B IPC_NOWAIT
-was specified in
-.IR msgflg .
-.TP
 .B EFAULT
 The address pointed to by
 .I msgp

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help